Guards for nSPV in decode/send raw transaction

This commit is contained in:
jl777
2019-07-05 04:58:30 -11:00
parent 029a186537
commit 81d0e44732
3 changed files with 21 additions and 29 deletions

View File

@@ -35,7 +35,6 @@ bool CKeyStore::GetPubKey(const CKeyID &address, CPubKey &vchPubKeyOut) const
}
bool CKeyStore::AddKey(const CKey &key) {
fprintf(stderr,"addkey\n");
return AddKeyPubKey(key, key.GetPubKey());
}
@@ -72,12 +71,6 @@ bool CBasicKeyStore::AddKeyPubKey(const CKey& key, const CPubKey &pubkey)
{
LOCK(cs_KeyStore);
mapKeys[pubkey.GetID()] = key;
{
int32_t i;
for (i=0; i<33; i++)
fprintf(stderr,"%02x",((uint8_t *)&pubkey)[i]);
fprintf(stderr," addpubkey pub\n");
}
return true;
}