Browse Source

test

pull/4/head
jl777 8 years ago
parent
commit
36a6561207
  1. 4
      src/wallet/wallet.cpp

4
src/wallet/wallet.cpp

@ -2933,7 +2933,7 @@ void CWallet::ReserveKeyFromKeyPool(int64_t& nIndex, CKeyPool& keypool)
if (!HaveKey(keypool.vchPubKey.GetID()))
throw runtime_error("ReserveKeyFromKeyPool(): unknown key in key pool");
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);
setKeyPool.insert(nIndex);
}
LogPrintf("keypool return %d\n", nIndex);
//LogPrintf("keypool return %d\n", nIndex);
}
bool CWallet::GetKeyFromPool(CPubKey& result)

Loading…
Cancel
Save