Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

fix: return after rejecting an off-chain transaction #3356

Merged
merged 1 commit into from
Jan 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/logic/safe/store/actions/createTransaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,11 @@ export class TxSender {
const { hardwareWallet, smartContractWallet } = providerSelector(state)
const signature = await this.onlyConfirm(hardwareWallet, smartContractWallet)
this.onComplete(signature, confirmCallback)
return
} catch (err) {
// User likely rejected transaction
logError(Errors._814, err.message)
}
return
}

// On-chain signature or execution
Expand Down