]> Git Repo - VerusCoin.git/commitdiff
Make sendrawtx return txid to be consistent with other send methods.
authorGavin Andresen <[email protected]>
Thu, 31 May 2012 20:05:07 +0000 (16:05 -0400)
committerGavin Andresen <[email protected]>
Thu, 31 May 2012 20:05:07 +0000 (16:05 -0400)
src/bitcoinrpc.cpp

index 75e3fd6e925e2c96ae8ba2ca91355b561c7c8a80..f582ff97eb56ca5e964f013c5072f60b0d35bc27 100644 (file)
@@ -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();
 }
 
 
This page took 0.025844 seconds and 4 git commands to generate.