From 4b50d9753eb484effd37597f11e4029dab5a833f Mon Sep 17 00:00:00 2001 From: parazyd Date: Wed, 20 Apr 2022 11:54:16 +0200 Subject: [PATCH] node/client: Add some TODO notes. --- src/node/client.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/node/client.rs b/src/node/client.rs index 38dd9f343..1bf7cbab7 100644 --- a/src/node/client.rs +++ b/src/node/client.rs @@ -69,6 +69,7 @@ impl Client { }) } + // TODO: Better function name async fn build_slab_from_tx( &self, pubkey: PublicKey, @@ -158,6 +159,9 @@ impl Client { Ok((tx, coins)) } + // TODO: This was changed so it does not broadcast transactions anymore. + // Instead, it returns the transaction itself, which is then able to be + // arbitrarily broadcasted. Rename the function from send() to a better name. pub async fn send( &self, pubkey: PublicKey,