diff options
| author | Gavin Andresen <[email protected]> | 2012-05-31 16:05:07 -0400 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2012-05-31 16:05:07 -0400 |
| commit | ea7582bb41416e112d79a2ae43a8c28c695faa8d (patch) | |
| tree | 006389762adbf503e6e20947f20b6a5f22899223 /src/bitcoinrpc.cpp | |
| parent | Merge pull request #1403 from Diapolo/translation_master_file (diff) | |
| download | discoin-ea7582bb41416e112d79a2ae43a8c28c695faa8d.tar.xz discoin-ea7582bb41416e112d79a2ae43a8c28c695faa8d.zip | |
Make sendrawtx return txid to be consistent with other send methods.
Diffstat (limited to 'src/bitcoinrpc.cpp')
| -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 75e3fd6e9..f582ff97e 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(); } |