feat(chain): add BSC networks to the is_legacy helper (#843)
also fix formatting
This commit is contained in:
parent
0c949f65bb
commit
44499ae008
|
@ -124,7 +124,12 @@ impl Chain {
|
||||||
// TODO: Add other chains which do not support EIP1559.
|
// TODO: Add other chains which do not support EIP1559.
|
||||||
matches!(
|
matches!(
|
||||||
self,
|
self,
|
||||||
Chain::Optimism | Chain::OptimismKovan | Chain::Fantom | Chain::FantomTestnet
|
Chain::Optimism |
|
||||||
|
Chain::OptimismKovan |
|
||||||
|
Chain::Fantom |
|
||||||
|
Chain::FantomTestnet |
|
||||||
|
Chain::BinanceSmartChain |
|
||||||
|
Chain::BinanceSmartChainTestnet
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue