From ec1e89c79f83a4bbcbf60b25a93bb37e3b63b743 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 6 Nov 2016 12:23:51 -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 ef15ccc81..28f65fee1 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -537,7 +537,7 @@ Value paxwithdraw(const Array& params, bool fHelp) uint8_t opretbuf[64]; int32_t opretlen; uint64_t fee = komodoshis / 1000; if ( fee < 10000 ) fee = 10000; - iguana_rwnum(1,&pubkey33[33],sizeof(height),&height); + iguana_rwnum(1,&pubkey37[33],sizeof(height),&height); opretlen = komodo_opreturnscript(opretbuf,'W',pubkey37,37); SendMoney(destaddress.Get(),fee,fSubtractFeeFromAmount,wtx,opretbuf,opretlen,fiatoshis); return wtx.GetHash().GetHex();