Skip to content

Commit f8e4f6f

Browse files
committed
Lock network fee to high for gift card purchases
Set networkFeeOption to high and lock the fee tile so users cannot lower the fee priority. Gift card orders are time-sensitive with expiring quotes, so high priority reduces the risk of missed deadlines.
1 parent 78d80ee commit f8e4f6f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/components/scenes/GiftCardPurchaseScene.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,7 @@ export const GiftCardPurchaseScene: React.FC<Props> = props => {
512512
tokenId,
513513
spendInfo: {
514514
tokenId,
515+
networkFeeOption: 'high',
515516
spendTargets: [
516517
{
517518
publicAddress: orderResponse.deliveryAddress,
@@ -527,6 +528,7 @@ export const GiftCardPurchaseScene: React.FC<Props> = props => {
527528
lockTilesMap: {
528529
address: true,
529530
amount: true,
531+
fee: true,
530532
wallet: true
531533
},
532534
hiddenFeaturesMap: {

0 commit comments

Comments
 (0)