Skip to content

Commit

Permalink
l2geth: remove dead type
Browse files Browse the repository at this point in the history
  • Loading branch information
tynes committed May 14, 2021
1 parent 1326d1f commit 6c4e2ac
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions l2geth/internal/ethapi/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -2129,16 +2129,7 @@ func (api *PrivateDebugAPI) IngestTransactions(txs []*RPCTransaction) error {
l1Timestamp := uint64(tx.L1Timestamp)
rawTransaction := tx.RawTransaction

var sighashType types.SignatureHashType
switch tx.TxType {
case "EthSign":
sighashType = types.SighashEthSign
case "EIP155":
sighashType = types.SighashEIP155
default:
return fmt.Errorf("Transaction with unknown sighash type: %s", tx.TxType)
}

sighashType := types.SighashEIP155
var queueOrigin types.QueueOrigin
switch tx.QueueOrigin {
case "sequencer":
Expand Down

0 comments on commit 6c4e2ac

Please sign in to comment.