Skip to content

Commit

Permalink
Restore default option to Relay
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh committed Nov 13, 2023
1 parent 8db5a5e commit 93e9e88
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/tx/SignOrExecuteForm/ExecuteForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@ const ExecuteForm = ({
// SC wallets can relay fully signed transactions
const [canWalletRelay] = useWalletCanRelay(safeTx)
// We default to relay
const [executionMethod, setExecutionMethod] = useState(
canWalletRelay ? ExecutionMethod.RELAY : ExecutionMethod.WALLET,
)
const [executionMethod, setExecutionMethod] = useState(ExecutionMethod.RELAY)
// The transaction can/will be relayed
const willRelay = executionMethod === ExecutionMethod.RELAY
const hasRelays = !!relays?.remaining
Expand Down

0 comments on commit 93e9e88

Please sign in to comment.