examples: add evmc::accounts alias

This commit is contained in:
Alex Beregszaszi 2019-08-08 18:46:10 +02:00 committed by Paweł Bylica
parent fb67e57986
commit d64de97ebd
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
1 changed files with 3 additions and 1 deletions

View File

@ -36,11 +36,13 @@ struct account
}
};
using accounts = std::map<evmc::address, account>;
} // namespace evmc
class ExampleHost : public evmc::Host
{
std::map<evmc::address, evmc::account> accounts;
evmc::accounts accounts;
evmc_tx_context tx_context{};
public: