diff --git a/src/controllers/alchemyout.controller.ts b/src/controllers/alchemyout.controller.ts index d942349..98c3353 100644 --- a/src/controllers/alchemyout.controller.ts +++ b/src/controllers/alchemyout.controller.ts @@ -132,7 +132,8 @@ class AlchemyOutController extends BaseController { if (record.crypto != crypto || record.network != network || record.address != address) { return errorRes('params mismatch') } - record.cryptoAmount = record.network.toLowerCase() === 'agor' ? '0.001' : cryptoAmount + record.cryptoAmount = + record.network.toLowerCase() === 'agor' && record.crypto.toLowerCase() === 'agor' ? '0.001' : cryptoAmount record.cryptoPrice = cryptoPrice record.usdtAdmount = usdtAmount record.status = PayStatus.TRANSFERING