diff --git a/src/komodo_nSPV_wallet.h b/src/komodo_nSPV_wallet.h index 296d000f1..e4f853aa2 100644 --- a/src/komodo_nSPV_wallet.h +++ b/src/komodo_nSPV_wallet.h @@ -152,7 +152,7 @@ bool NSPV_SignTx(CMutableTransaction &mtx,int32_t vini,int64_t utxovalue,const C { UpdateTransaction(mtx,vini,sigdata); return(true); - } else fprintf(stderr,"signing error for SignTx vini.%d %.8f\n",vini,(double)utxovalue/COIN); + } // else fprintf(stderr,"signing error for SignTx vini.%d %.8f\n",vini,(double)utxovalue/COIN); return(false); } diff --git a/src/script/sign.cpp b/src/script/sign.cpp index 685018828..f97e1a83d 100644 --- a/src/script/sign.cpp +++ b/src/script/sign.cpp @@ -44,7 +44,10 @@ bool TransactionSignatureCreator::CreateSig(std::vector& vchSig, if (pprivKey) key = *pprivKey; else if (!keystore || !keystore->GetKey(address, key)) + { + fprintf(stderr,"couldnt find key\n"); return false; + } uint256 hash; try {