tests: fix HF12 chaingen - construct bc object from events

This commit is contained in:
Dusan Klinec 2019-11-08 16:33:16 +01:00
parent fe3f6a3e6b
commit da6c807f8b
No known key found for this signature in database
GPG key ID: 6337E118CCBCE103
3 changed files with 180 additions and 22 deletions

View file

@ -10,9 +10,6 @@ using namespace epee;
using namespace crypto;
using namespace cryptonote;
// Shared random generator
static std::default_random_engine RND(crypto::rand<unsigned>());
void wallet_accessor_test::set_account(tools::wallet2 * wallet, cryptonote::account_base& account)
{
wallet->clear();