From 5611b8ff59c92d4d7bc4bf95ad20cb1569c1d927 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 7 Apr 2018 22:53:26 +0300 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 bf148e9d2..62b028042 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -2719,7 +2719,7 @@ int32_t komodo_staked(uint32_t *txtimep,uint256 *utxotxidp,int32_t *utxovoutp,ui const CScript& pk = out.tx->vout[out.i].scriptPubKey; //entry.push_back(Pair("generated", out.tx->IsCoinBase())); *utxovaluep = (uint64_t)nValue; - decode_hex(utxotxidp,32,out.tx->GetHash().GetHex().c_str()); + decode_hex((uint8_t *)utxotxidp,32,out.tx->GetHash().GetHex().c_str()); *utxovoutp = out.i; *txtimep = (uint32_t)out.tx->nLockTime; CTxDestination address;