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

pull/2/merge
Gavin Andresen 13 years ago
parent 50fac68654
commit ea7582bb41

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