fix: contract decimal places bug for eth token amounts parsing

This commit is contained in:
julian 2023-07-20 09:11:36 -06:00
parent 64527450bf
commit 96bfafcd19

View file

@ -70,6 +70,11 @@ class AmountFormatter {
String string, {
EthContract? ethContract,
}) {
return unit.tryParse(string, locale: locale, coin: coin);
return unit.tryParse(
string,
locale: locale,
coin: coin,
tokenContract: ethContract,
);
}
}