mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-02-03 02:14:16 +00:00
Make sendrawtx return txid to be consistent with other send methods.
This commit is contained in:
parent
50fac68654
commit
ea7582bb41
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user