From c4d4624d5e25a2aaa656b27f948dcdcda4dfe7cc Mon Sep 17 00:00:00 2001 From: Ben Date: Tue, 5 Aug 2025 15:34:59 +0200 Subject: [PATCH] simplify eth threshold check --- Tools/BiblioTech/Commands/MintCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/BiblioTech/Commands/MintCommand.cs b/Tools/BiblioTech/Commands/MintCommand.cs index 82bc8373..93e14e7d 100644 --- a/Tools/BiblioTech/Commands/MintCommand.cs +++ b/Tools/BiblioTech/Commands/MintCommand.cs @@ -153,7 +153,7 @@ namespace BiblioTech.Commands private bool IsEthBalanceOverLimit(IGethNode gethNode, EthAddress addr) { var eth = gethNode.GetEthBalance(addr); - return ((decimal)eth.Eth) > Program.Config.SendEth; + return eth > Program.Config.SendEth.Eth(); } private bool IsTestTokenBalanceOverLimit(ICodexContracts contracts, EthAddress addr)