CKeyStore::AddKey must return a boolean
This commit is contained in:
1 parent
e94010b239
commit
33c75fd9aa
1 file changed
+1
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user