aboutsummaryrefslogtreecommitdiff
path: root/src/node
diff options
context:
space:
mode:
authorismaelsadeeq <ask4ismailsadiq@gmail.com>2024-01-24 16:26:50 +0100
committerismaelsadeeq <ask4ismailsadiq@gmail.com>2024-01-29 13:07:47 +0100
commit31cce4a1bdbb48f57996615ee6c686e456cc0bea (patch)
tree2e613846fbc5b9c9a1d48a5be069cee7a9495722 /src/node
parent4baa162dbb3c6464e196a4a21fe63794859021b4 (diff)
downloadbitcoin-31cce4a1bdbb48f57996615ee6c686e456cc0bea.tar.xz
doc: update `BroadcastTransaction` comment
BroadcastTransaction is also called by submitpackage RPC. It's not maintainable to list all the callers of a function.
Diffstat (limited to 'src/node')
-rw-r--r--src/node/transaction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/transaction.cpp b/src/node/transaction.cpp
index e8ab2326c1..ef9a30a076 100644
--- a/src/node/transaction.cpp
+++ b/src/node/transaction.cpp
@@ -32,7 +32,7 @@ static TransactionError HandleATMPError(const TxValidationState& state, std::str
TransactionError BroadcastTransaction(NodeContext& node, const CTransactionRef tx, std::string& err_string, const CAmount& max_tx_fee, bool relay, bool wait_callback)
{
- // BroadcastTransaction can be called by either sendrawtransaction RPC or the wallet.
+ // BroadcastTransaction can be called by RPC or by the wallet.
// chainman, mempool and peerman are initialized before the RPC server and wallet are started
// and reset after the RPC sever and wallet are stopped.
assert(node.chainman);