Skip to content

Commit

Permalink
Fix: tx can have been created w/o signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh committed Aug 7, 2023
1 parent beae29d commit 579b30e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/tx/SignOrExecuteForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const SignOrExecuteForm = (props: SignOrExecuteProps): ReactElement => {
const { transactionExecution } = useAppSelector(selectSettings)
const [shouldExecute, setShouldExecute] = useState<boolean>(transactionExecution)
const { safeTx, safeTxError } = useContext(SafeTxContext)
const isCreation = safeTx?.signatures.size === 0
const isCreation = !props.txId
const isNewExecutableTx = useImmediatelyExecutable() && isCreation
const isCorrectNonce = useValidateNonce(safeTx)
const [decodedData, decodedDataError, decodedDataLoading] = useDecodeTx(safeTx)
Expand Down

0 comments on commit 579b30e

Please sign in to comment.