@@ -392,7 +392,7 @@ export const SignTransactionSheet = () => {
392
392
from : displayDetails ?. request ?. from ,
393
393
gasLimit,
394
394
hash : sendResult . hash ,
395
- network : chainsName [ chainId ] as Network ,
395
+ network : chainsName [ chainId ] as Network ,
396
396
nonce : sendResult . nonce ,
397
397
to : displayDetails ?. request ?. to ,
398
398
value : sendResult . value . toString ( ) ,
@@ -414,7 +414,7 @@ export const SignTransactionSheet = () => {
414
414
dappName : transactionDetails . dappName ,
415
415
dappUrl : transactionDetails . dappUrl ,
416
416
isHardwareWallet : accountInfo . isHardwareWallet ,
417
- network : chainsName [ chainId ] as Network
417
+ network : chainsName [ chainId ] as Network ,
418
418
} ) ;
419
419
420
420
if ( ! sendInsteadOfSign ) {
@@ -445,7 +445,7 @@ export const SignTransactionSheet = () => {
445
445
dappUrl : transactionDetails ?. dappUrl ,
446
446
formattedDappUrl,
447
447
rpcMethod : req ?. method ,
448
- network : chainsName [ chainId ] as Network
448
+ network : chainsName [ chainId ] as Network ,
449
449
} ) ;
450
450
// If the user is using a hardware wallet, we don't want to close the sheet on an error
451
451
if ( ! accountInfo . isHardwareWallet ) {
@@ -526,15 +526,28 @@ export const SignTransactionSheet = () => {
526
526
dappName : transactionDetails ?. dappName ,
527
527
dappUrl : transactionDetails ?. dappUrl ,
528
528
isHardwareWallet : accountInfo . isHardwareWallet ,
529
- network : chainsName [ chainId ] as Network
529
+ network : chainsName [ chainId ] as Network ,
530
530
} ) ;
531
531
onSuccessCallback ?.( response . result ) ;
532
532
533
533
closeScreen ( false ) ;
534
534
} else {
535
535
await onCancel ( response ?. error ) ;
536
536
}
537
- } , [ transactionDetails ?. payload ?. params , transactionDetails ?. payload ?. method , transactionDetails ?. dappName , transactionDetails ?. dappUrl , provider , chainId , source , accountInfo . address , accountInfo . isHardwareWallet , onSuccessCallback , closeScreen , onCancel ] ) ;
537
+ } , [
538
+ transactionDetails ?. payload ?. params ,
539
+ transactionDetails ?. payload ?. method ,
540
+ transactionDetails ?. dappName ,
541
+ transactionDetails ?. dappUrl ,
542
+ provider ,
543
+ chainId ,
544
+ source ,
545
+ accountInfo . address ,
546
+ accountInfo . isHardwareWallet ,
547
+ onSuccessCallback ,
548
+ closeScreen ,
549
+ onCancel ,
550
+ ] ) ;
538
551
539
552
const { onConfirm } = useConfirmTransaction ( {
540
553
isMessageRequest,
0 commit comments