Skip to content

Commit

Permalink
geth: assign err
Browse files Browse the repository at this point in the history
  • Loading branch information
tynes committed Jun 1, 2021
1 parent b3a8c51 commit cc9e1c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion l2geth/rollup/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ func batchedTransactionToTransaction(res *transaction, signer *types.EIP155Signe
copy(sig[64-len(s):64], s)
sig[64] = byte(res.Decoded.Signature.V)

tx, err = tx.WithSignature(signer, sig[:])
tx, err := tx.WithSignature(signer, sig[:])
if err != nil {
return nil, fmt.Errorf("Cannot add signature to transaction: %w", err)
}
Expand Down

0 comments on commit cc9e1c7

Please sign in to comment.