From b11bb0e26ad7457e3bd0e960cf42a13e8b74221a Mon Sep 17 00:00:00 2001 From: Simon Date: Thu, 8 Sep 2016 21:54:34 -0700 Subject: [PATCH] Replace GetTxid() with GetHash() --- src/wallet/asyncrpcoperation_sendmany.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wallet/asyncrpcoperation_sendmany.cpp b/src/wallet/asyncrpcoperation_sendmany.cpp index d5688356..0f663838 100644 --- a/src/wallet/asyncrpcoperation_sendmany.cpp +++ b/src/wallet/asyncrpcoperation_sendmany.cpp @@ -702,7 +702,7 @@ void AsyncRPCOperation_sendmany::sign_send_raw_transaction(Object obj) Object o; o.push_back(Pair("test", 1)); - o.push_back(Pair("txid", tx.GetTxid().ToString())); + o.push_back(Pair("txid", tx.GetHash().ToString())); o.push_back(Pair("hex", signedtxn)); set_result(Value(o)); } @@ -740,7 +740,7 @@ bool AsyncRPCOperation_sendmany::find_utxos(bool fAcceptCoinbase=false) { } CAmount nValue = out.tx->vout[out.i].nValue; - SendManyInputUTXO utxo(out.tx->GetTxid(), out.i, nValue, isCoinbase); + SendManyInputUTXO utxo(out.tx->GetHash(), out.i, nValue, isCoinbase); t_inputs_.push_back(utxo); }