Commit 4598d7d1 authored by Mark Tyneway's avatar Mark Tyneway Committed by GitHub

Merge pull request #1341 from ethereum-optimism/cleanup/l2geth-rollup-client-style

l2geth: rollup client style
parents 09372ad9 4cf68ade
---
'@eth-optimism/l2geth': patch
---
Style fix in the `RollupClient`
......@@ -331,11 +331,12 @@ func batchedTransactionToTransaction(res *transaction, signer *types.EIP155Signe
// The queue origin must be either sequencer of l1, otherwise
// it is considered an unknown queue origin and will not be processed
var queueOrigin types.QueueOrigin
if res.QueueOrigin == sequencer {
switch res.QueueOrigin {
case sequencer:
queueOrigin = types.QueueOriginSequencer
} else if res.QueueOrigin == l1 {
case l1:
queueOrigin = types.QueueOriginL1ToL2
} else {
default:
return nil, fmt.Errorf("Unknown queue origin: %s", res.QueueOrigin)
}
// Transactions that have been decoded are
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment