0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-03 09:56:38 -05:00

Make sendrawtx return txid to be consistent with other send methods.

This commit is contained in:
Gavin Andresen 2012-05-31 16:05:07 -04:00
parent 50fac68654
commit ea7582bb41

View file

@ -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();
} }