mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-11 15:48:05 +00:00
CKeyStore::AddKey must return a boolean
This commit is contained in:
parent
e94010b239
commit
33c75fd9aa
@ -29,5 +29,6 @@ bool CKeyStore::AddKey(const CKey& key)
|
|||||||
mapKeys[key.GetPubKey()] = key.GetPrivKey();
|
mapKeys[key.GetPubKey()] = key.GetPrivKey();
|
||||||
mapPubKeys[Hash160(key.GetPubKey())] = key.GetPubKey();
|
mapPubKeys[Hash160(key.GetPubKey())] = key.GetPubKey();
|
||||||
}
|
}
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user