Skip to content

Commit 7905d10

Browse files
author
Jon Tzeng
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 c85ef98 commit 7905d10

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
@@ -511,6 +511,7 @@ export const GiftCardPurchaseScene: React.FC<Props> = props => {
511511
tokenId,
512512
spendInfo: {
513513
tokenId,
514+
networkFeeOption: 'high',
514515
spendTargets: [
515516
{
516517
publicAddress: orderResponse.deliveryAddress,
@@ -526,6 +527,7 @@ export const GiftCardPurchaseScene: React.FC<Props> = props => {
526527
lockTilesMap: {
527528
address: true,
528529
amount: true,
530+
fee: true,
529531
wallet: true
530532
},
531533
hiddenFeaturesMap: {

0 commit comments

Comments
 (0)