From a42fa6cf0cb227a91f2f914d60b81771266c0441 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 20 Jan 2017 21:15:28 +0200 Subject: [PATCH] test --- src/wallet/rpcwallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 1c3e0582d..d203e63e2 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -597,7 +597,7 @@ Value kvupdate(const Array& params, bool fHelp) if (!destaddress.IsValid()) throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid dest Bitcoin address"); SendMoney(destaddress.Get(),10000,false,wtx,opretbuf,opretlen,fee); - ret.push_back(Pair("txid",wtx.GetHash())); + ret.push_back(Pair("txid",wtx.GetHash().GetHex())); } else ret.push_back(Pair("error",(char *)"null key")); return ret; }