Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

Commit

Permalink
feat(pkg): add more utils.WeiToEther in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha committed Apr 26, 2024
1 parent 1eb1c76 commit 6f88453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prover/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func (p *Prover) setApprovalAmount(ctx context.Context, contract common.Address)
return err
}

log.Info("Existing allowance for the contract", "allowance", allowance, "contract", contract)
log.Info("Existing allowance for the contract", "allowance", utils.WeiToEther(allowance), "contract", contract)

// If the existing allowance is greater or equal to the configured allowance, skip setting allowance.
if allowance.Cmp(p.cfg.Allowance) >= 0 {
Expand Down

0 comments on commit 6f88453

Please sign in to comment.