ubiquity / pay.ubq.fi

Generate and claim spender permits (EIP-2612)
https://pay.ubq.fi
8 stars 28 forks source link

fix: call decimals() on generating test permits #249

Closed rndquu closed 2 weeks ago

rndquu commented 2 weeks ago

I've been trying to generate permits for USDT with 6 decimals which ended up converting to a wrong number.

This PR takes into account token decimals when generating test permits.

ubiquibot-continuous-deploys[bot] commented 2 weeks ago
ac98c88
8b1c07d
github-actions[bot] commented 2 weeks ago
Preview Deployment
ac98c88e21ef8d0525e60656917ad76562f244de