From 8f63d5d1749338f1d1a148ac618334d77b9d01a1 Mon Sep 17 00:00:00 2001 From: Hwee-Boon Yar Date: Fri, 17 Feb 2023 09:48:41 +0800 Subject: [PATCH] Fix: .signTransaction from dapp browser web3 call should only sign not sign+send --- AlphaWallet/Browser/Coordinators/DappBrowserCoordinator.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AlphaWallet/Browser/Coordinators/DappBrowserCoordinator.swift b/AlphaWallet/Browser/Coordinators/DappBrowserCoordinator.swift index f11ad6a717..240be3d4c4 100644 --- a/AlphaWallet/Browser/Coordinators/DappBrowserCoordinator.swift +++ b/AlphaWallet/Browser/Coordinators/DappBrowserCoordinator.swift @@ -499,7 +499,7 @@ extension DappBrowserCoordinator: BrowserViewControllerDelegate { func performDappAction(account: AlphaWallet.Address) { switch action { case .signTransaction(let unconfirmedTransaction): - executeTransaction(action: action, callbackID: callbackID, transaction: unconfirmedTransaction, type: .signThenSend) + executeTransaction(action: action, callbackID: callbackID, transaction: unconfirmedTransaction, type: .sign) case .sendTransaction(let unconfirmedTransaction): executeTransaction(action: action, callbackID: callbackID, transaction: unconfirmedTransaction, type: .signThenSend) case .signMessage(let hexMessage):