Skip to content

Commit

Permalink
feat(wallet-mobile): Allow dApps to use collateral 5 ADA
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljscript committed Aug 9, 2024
1 parent 8903194 commit d1af82b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class CIP30Extension {
const valueStr = value?.trim() ?? collateralConfig.minLovelace.toString()
const valueNum = new BigNumber(valueStr)

if (valueNum.gte(new BigNumber(collateralConfig.maxLovelace))) {
if (valueNum.gt(new BigNumber(collateralConfig.maxLovelace))) {
throw new Error('Collateral value is too high')
}

Expand Down

0 comments on commit d1af82b

Please sign in to comment.