Browse Source

+print

warmup
jl777 5 years ago
parent
commit
3837c804a9
  1. 2
      src/komodo_nSPV_wallet.h
  2. 3
      src/script/sign.cpp

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

3
src/script/sign.cpp

@ -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 {

Loading…
Cancel
Save