diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2012-05-31 16:05:07 -0400 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2012-05-31 16:05:07 -0400 |
commit | ea7582bb41416e112d79a2ae43a8c28c695faa8d (patch) | |
tree | 006389762adbf503e6e20947f20b6a5f22899223 /src | |
parent | 50fac686541686191647ddabd87d6dae75c24c52 (diff) |
Make sendrawtx return txid to be consistent with other send methods.
Diffstat (limited to 'src')
-rw-r--r-- | src/bitcoinrpc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp index 75e3fd6e92..f582ff97eb 100644 --- a/src/bitcoinrpc.cpp +++ b/src/bitcoinrpc.cpp @@ -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(); } |