mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-29 10:19:26 +02:00
Make sendrawtx return txid to be consistent with other send methods.
This commit is contained in:
@ -2261,7 +2261,7 @@ Value sendrawtx(const Array& params, bool fHelp)
|
|||||||
CInv inv(MSG_TX, tx.GetHash());
|
CInv inv(MSG_TX, tx.GetHash());
|
||||||
RelayInventory(inv);
|
RelayInventory(inv);
|
||||||
|
|
||||||
return true;
|
return tx.GetHash().GetHex();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user