This commit is contained in:
jl777
2019-07-05 04:12:10 -11:00
parent 78f26462ed
commit 3837c804a9
2 changed files with 4 additions and 1 deletions

View File

@@ -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);
}

View File

@@ -44,7 +44,10 @@ bool TransactionSignatureCreator::CreateSig(std::vector<unsigned char>& vchSig,
if (pprivKey)
key = *pprivKey;
else if (!keystore || !keystore->GetKey(address, key))
{
fprintf(stderr,"couldnt find key\n");
return false;
}
uint256 hash;
try {