Fix min_deposit/min_withdraw mismatch: 10 USDT backend vs 1 USDT wallet UI

wallet-android's Bridge screen has always advertised a 1 USDT minimum
(MIN_USDT constant), but usdt-bridge's actual min_deposit/min_withdraw
defaulted to 10 USDT since the tool's original scaffold commit - nobody had
ever reconciled the two. Confirmed live: a real user swap of ~1 USDT landed
correctly at the multisig custody address but was silently skipped by
listen_deposits (amount < min_deposit), so the user never received wUSDT
despite the wallet telling them 1 USDT was a valid amount.

Backend now matches the value already promised to users, not the other way
around - changing the wallet's displayed minimum after users have already
relied on it would be the wrong direction to reconcile this in.
This commit is contained in:
Satoshi Qazi Muhammed committed 2026-07-14 21:10:10 -07:00
1 parent 96840fd17e
commit c0a982b32c
2 files changed
+7 -5

No files matched your search

+2 -2
View File
@@ -3,8 +3,8 @@
"pezkuwi_rpc": "wss://asset-hub-rpc.pezkuwichain.io",
"polkadot_usdt_asset_id": 1984,
"pezkuwi_wusdt_asset_id": 1000,
"min_deposit": 10000000,
"min_withdraw": 10000000,
"min_deposit": 1000000,
"min_withdraw": 1000000,
"fee_basis_points": 10,
"seed_path": "bridge_seed.json",
"db_path": "bridge_db.json",