Change wei from 1 to 0 (#460)

1 WEI = 10^0 WEI, not 10^1
This commit is contained in:
Odysseas Lamtzidis 2021-09-20 17:53:37 +03:00 committed by GitHub
parent 7abe23b9f3
commit 80adc08860
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ impl Units {
match self { match self {
Units::Ether => 18, Units::Ether => 18,
Units::Gwei => 9, Units::Gwei => 9,
Units::Wei => 1, Units::Wei => 0,
Units::Other(inner) => *inner, Units::Other(inner) => *inner,
} }
} }