aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2012-05-31 16:05:07 -0400
committerGavin Andresen <gavinandresen@gmail.com>2012-05-31 16:05:07 -0400
commitea7582bb41416e112d79a2ae43a8c28c695faa8d (patch)
tree006389762adbf503e6e20947f20b6a5f22899223 /src
parent50fac686541686191647ddabd87d6dae75c24c52 (diff)
Make sendrawtx return txid to be consistent with other send methods.
Diffstat (limited to 'src')
-rw-r--r--src/bitcoinrpc.cpp2
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();
}