From 99ba39fba136b268d0f98df8948015be2be11bcd Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 10 Jul 2019 04:42:44 -1100 Subject: [PATCH] Arg tweak --- src/cc/CCtx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc/CCtx.cpp b/src/cc/CCtx.cpp index 14cc5bc4a..cb9bf4a77 100644 --- a/src/cc/CCtx.cpp +++ b/src/cc/CCtx.cpp @@ -619,7 +619,7 @@ int64_t AddNormalinputs2(CMutableTransaction &mtx,int64_t total,int32_t maxinput int32_t abovei,belowi,ind,vout,i,n = 0; int64_t sum,threshold,above,below; int64_t remains,nValue,totalinputs = 0; char coinaddr[64]; uint256 txid,hashBlock; CTransaction tx; struct CC_utxo *utxos,*up; std::vector > unspentOutputs; if ( KOMODO_NSPV != 0 ) - return(NSPV_AddNormalinputs(mtx,mypk,total,maxinputs,ptr)); + return(NSPV_AddNormalinputs(mtx,pubkey2pk(Mypubkey()),total,maxinputs,ptr)); utxos = (struct CC_utxo *)calloc(CC_MAXVINS,sizeof(*utxos)); if ( maxinputs > CC_MAXVINS ) maxinputs = CC_MAXVINS;