mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-26 03:03:22 -03:00
Make sendrawtx return txid to be consistent with other send methods.
This commit is contained in:
parent
50fac68654
commit
ea7582bb41
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue