feat(chain): add BSC networks to the is_legacy helper (#843)

also fix formatting
This commit is contained in:
Options Eskimo 2022-01-29 19:36:22 +00:00 committed by GitHub
parent 0c949f65bb
commit 44499ae008
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -124,7 +124,12 @@ impl Chain {
// TODO: Add other chains which do not support EIP1559.
matches!(
self,
Chain::Optimism | Chain::OptimismKovan | Chain::Fantom | Chain::FantomTestnet
Chain::Optimism |
Chain::OptimismKovan |
Chain::Fantom |
Chain::FantomTestnet |
Chain::BinanceSmartChain |
Chain::BinanceSmartChainTestnet
)
}
}