Skip to content

Commit

Permalink
Fix: .signTransaction from dapp browser web3 call should only sign no…
Browse files Browse the repository at this point in the history
…t sign+send
  • Loading branch information
hboon committed Feb 17, 2023
1 parent 4cf54bd commit 8f63d5d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 8f63d5d

Please sign in to comment.