diff --git a/src/komodo_nSPV_wallet.h b/src/komodo_nSPV_wallet.h index 2e883a439..bf64657df 100644 --- a/src/komodo_nSPV_wallet.h +++ b/src/komodo_nSPV_wallet.h @@ -445,11 +445,15 @@ int64_t NSPV_AddNormalinputs(CMutableTransaction &mtx,CPubKey mypk,int64_t total void NSPV_utxos2CCunspents(struct NSPV_utxosresp *ptr,std::vector > &outputs) { CAddressUnspentKey key; CAddressUnspentValue value; int32_t i,type; uint160 hashBytes; std::string addrstr(ptr->coinaddr); + fprintf(stderr,"in converter\n"); if ( ptr->utxos != NULL && ptr->numutxos > 0 ) { CBitcoinAddress address(addrstr); - if (address.GetIndexKey(hashBytes, type, ptr->CCflag) == 0) + if ( address.GetIndexKey(hashBytes, type, ptr->CCflag) == 0 ) + { + fprintf(stderr,"couldnt get indexkey\n"); return; + } for (i = 0; i < ptr->numutxos; i ++) { key.type = type;