From ae63ef4206898c902309d86bea1d99a7b50227a2 Mon Sep 17 00:00:00 2001 From: Sterling Long Date: Thu, 10 Aug 2023 21:36:13 -0600 Subject: [PATCH] Updated gwei -> wei in example --- example/wallet/lib/dependencies/chains/evm_service.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/example/wallet/lib/dependencies/chains/evm_service.dart b/example/wallet/lib/dependencies/chains/evm_service.dart index 9718a8ed..2e94d0fe 100644 --- a/example/wallet/lib/dependencies/chains/evm_service.dart +++ b/example/wallet/lib/dependencies/chains/evm_service.dart @@ -249,19 +249,19 @@ class EVMService extends IChain { ), gasPrice: ethTransaction.gasPrice != null ? EtherAmount.fromUnitAndValue( - EtherUnit.gwei, + EtherUnit.wei, BigInt.tryParse(ethTransaction.gasPrice!) ?? BigInt.zero, ) : null, maxFeePerGas: ethTransaction.maxFeePerGas != null ? EtherAmount.fromUnitAndValue( - EtherUnit.gwei, + EtherUnit.wei, BigInt.tryParse(ethTransaction.maxFeePerGas!) ?? BigInt.zero, ) : null, maxPriorityFeePerGas: ethTransaction.maxPriorityFeePerGas != null ? EtherAmount.fromUnitAndValue( - EtherUnit.gwei, + EtherUnit.wei, BigInt.tryParse(ethTransaction.maxPriorityFeePerGas!) ?? BigInt.zero, )