Skip to content

Commit 31cce4a

Browse files
committed
doc: update BroadcastTransaction comment
BroadcastTransaction is also called by submitpackage RPC. It's not maintainable to list all the callers of a function.
1 parent 4baa162 commit 31cce4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node/transaction.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ static TransactionError HandleATMPError(const TxValidationState& state, std::str
3232

3333
TransactionError BroadcastTransaction(NodeContext& node, const CTransactionRef tx, std::string& err_string, const CAmount& max_tx_fee, bool relay, bool wait_callback)
3434
{
35-
// BroadcastTransaction can be called by either sendrawtransaction RPC or the wallet.
35+
// BroadcastTransaction can be called by RPC or by the wallet.
3636
// chainman, mempool and peerman are initialized before the RPC server and wallet are started
3737
// and reset after the RPC sever and wallet are stopped.
3838
assert(node.chainman);

0 commit comments

Comments
 (0)