1
0
Fork 0
forked from lthn/blockchain

fixed more issues with wallet_tests_basic

This commit is contained in:
cryptozoidberg 2023-08-28 20:58:26 +02:00
parent 433125716e
commit 70ea36db50
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -38,7 +38,7 @@ struct wallet_test : virtual public test_chain_unit_enchanced
template<typename wallet_t>
std::shared_ptr<typename wallet_t> init_playtime_test_wallet_t(const std::vector<test_event_entry>& events, currency::core& c, size_t account_index) const
std::shared_ptr<wallet_t> init_playtime_test_wallet_t(const std::vector<test_event_entry>& events, currency::core& c, size_t account_index) const
{
CHECK_AND_ASSERT_THROW_MES(account_index < m_accounts.size(), "Invalid account index");
return init_playtime_test_wallet_t<wallet_t>(events, c, m_accounts[account_index]);