diff --git a/ethers-core/src/utils/units.rs b/ethers-core/src/utils/units.rs index 1102d338..781a1187 100644 --- a/ethers-core/src/utils/units.rs +++ b/ethers-core/src/utils/units.rs @@ -15,7 +15,7 @@ impl Units { match self { Units::Ether => 18, Units::Gwei => 9, - Units::Wei => 1, + Units::Wei => 0, Units::Other(inner) => *inner, } }