Commit a231c842 authored by QM's avatar QM

add log

parent 3d1e43e8
...@@ -730,6 +730,7 @@ func (ethRelayer *Relayer4Ethereum) checkBalanceEnough(addr common.Address, amou ...@@ -730,6 +730,7 @@ func (ethRelayer *Relayer4Ethereum) checkBalanceEnough(addr common.Address, amou
if balance.Cmp(amount) > 0 { if balance.Cmp(amount) > 0 {
return true, nil return true, nil
} }
relayerLog.Error("Insufficient balance", "balance", balance, "amount", amount)
return false, errors.New("Insufficient balance") return false, errors.New("Insufficient balance")
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment