Browse Source

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

0.8
Gavin Andresen 13 years ago
parent
commit
ea7582bb41
  1. 2
      src/bitcoinrpc.cpp

2
src/bitcoinrpc.cpp

@ -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…
Cancel
Save