]> git.bitcoin.ninja Git - ldk-sample/commitdiff
Fix comment on funding transaction broadcast
authoroptout <13562139+optout21@users.noreply.github.com>
Wed, 25 Oct 2023 08:36:28 +0000 (10:36 +0200)
committeroptout <13562139+optout21@users.noreply.github.com>
Wed, 25 Oct 2023 08:36:28 +0000 (10:36 +0200)
src/main.rs

index 50edb22ed54449d47d1f168c252ab05ff0ff7a6a..33b17078f3b9aea808d7cc2b83f4d5dcd1fa5fa8 100644 (file)
@@ -203,7 +203,7 @@ async fn handle_ldk_events(
                        // satisfied.
                        let funded_tx = bitcoind_client.fund_raw_transaction(raw_tx).await;
 
-                       // Sign the final funding transaction and broadcast it.
+                       // Sign the final funding transaction and give it to LDK, who will eventually broadcast it.
                        let signed_tx = bitcoind_client.sign_raw_transaction_with_wallet(funded_tx.hex).await;
                        assert_eq!(signed_tx.complete, true);
                        let final_tx: Transaction =