chore: log incorrect amountInWeis (#5005)
This commit is contained in:
parent
ef0e17e0f5
commit
3bd00cb416
|
@ -360,7 +360,7 @@ func (p *DefaultPermissionChecker) CheckPermissions(permissions []*CommunityToke
|
|||
|
||||
requiredAmount, success := new(big.Int).SetString(tokenRequirement.AmountInWei, 10)
|
||||
if !success {
|
||||
return nil, fmt.Errorf("amountInWeis value is incorrect")
|
||||
return nil, fmt.Errorf("amountInWeis value is incorrect: %s", tokenRequirement.AmountInWei)
|
||||
}
|
||||
|
||||
if accumulatedBalance.Cmp(requiredAmount) != -1 {
|
||||
|
|
Loading…
Reference in New Issue