test
This commit is contained in:
@@ -2933,7 +2933,7 @@ void CWallet::ReserveKeyFromKeyPool(int64_t& nIndex, CKeyPool& keypool)
|
|||||||
if (!HaveKey(keypool.vchPubKey.GetID()))
|
if (!HaveKey(keypool.vchPubKey.GetID()))
|
||||||
throw runtime_error("ReserveKeyFromKeyPool(): unknown key in key pool");
|
throw runtime_error("ReserveKeyFromKeyPool(): unknown key in key pool");
|
||||||
assert(keypool.vchPubKey.IsValid());
|
assert(keypool.vchPubKey.IsValid());
|
||||||
LogPrintf("keypool reserve %d\n", nIndex);
|
//LogPrintf("keypool reserve %d\n", nIndex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2955,7 +2955,7 @@ void CWallet::ReturnKey(int64_t nIndex)
|
|||||||
LOCK(cs_wallet);
|
LOCK(cs_wallet);
|
||||||
setKeyPool.insert(nIndex);
|
setKeyPool.insert(nIndex);
|
||||||
}
|
}
|
||||||
LogPrintf("keypool return %d\n", nIndex);
|
//LogPrintf("keypool return %d\n", nIndex);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CWallet::GetKeyFromPool(CPubKey& result)
|
bool CWallet::GetKeyFromPool(CPubKey& result)
|
||||||
|
|||||||
Reference in New Issue
Block a user