mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-01-03 14:03:09 +00:00
simplify eth threshold check
This commit is contained in:
parent
6f5d6d2c03
commit
c4d4624d5e
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user