mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-29 02:11:24 +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());
|
||||
RelayInventory(inv);
|
||||
|
||||
return true;
|
||||
return tx.GetHash().GetHex();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user