mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Merge 9ab9d63569 into merged_master (Bitcoin PR #16503)
This commit is contained in:
commit
766d79d33f
4 changed files with 3 additions and 12 deletions
|
|
@ -16,6 +16,9 @@
|
|||
|
||||
TransactionError BroadcastTransaction(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 wallet RPCs.
|
||||
// g_connman is assigned both before chain clients and before RPC server is accepting calls,
|
||||
// and reset after chain clients and RPC sever are stopped. g_connman should never be null here.
|
||||
assert(g_connman);
|
||||
std::promise<void> promise;
|
||||
uint256 hashTx = tx->GetHash();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue