Skip to content

Commit 74c3d11

Browse files
sgbettclaude
andcommitted
docs(wallet): clarify why finalize path has no broadcast_enabled? check
The queue abstracts away broadcaster presence — InlineQueue handles both cases internally via broadcast_and_promote / promote_without_broadcast. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 17dc9b0 commit 74c3d11

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gem/bsv-wallet/lib/bsv/wallet_interface/wallet_client.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1348,6 +1348,8 @@ def finalize_action(tx, args)
13481348
if no_send
13491349
result[:no_send_change] = []
13501350
else
1351+
# The queue handles both broadcaster-present and no-broadcaster cases
1352+
# internally, so no broadcast_enabled? check is needed here.
13511353
result.merge!(
13521354
@broadcast_queue.enqueue(
13531355
tx: tx, txid: txid, beef_binary: beef_binary,

0 commit comments

Comments
 (0)