mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-23 12:11:16 +00:00
72e609a7e9
In dev mode, accounts are funded per the blockchain accounts config. In specific situations, there may not be enough funds on the account returned by `eth_coinbase`. In that case, and in the case when `eth_coinbase` returns `0x0` (or equivalent), loop through all accounts and find the one that has the most funds and use that as the coinbase account.