Skip to content

Commit

Permalink
remove unused var.
Browse files Browse the repository at this point in the history
  • Loading branch information
raulk committed Dec 23, 2022
1 parent a469840 commit a22518d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions node/impl/full/eth.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ var (
_ EthEventAPI = *new(api.FullNode)
)

var EmptyLogsBloom = make([]byte, 256)

// EthModule provides the default implementation of the standard Ethereum JSON-RPC API.
//
// # Execution model reconciliation
Expand Down Expand Up @@ -659,10 +657,10 @@ func (a *EthModule) ethCallToFilecoinMessage(ctx context.Context, tx ethtypes.Et
// See https://github.com/filecoin-project/ref-fvm/issues/1173
from = builtinactors.BurntFundsActorAddr
// Send from the filecoin "system" address.
//from, err = (api.EthAddress{}).ToFilecoinAddress()
//if err != nil {
// from, err = (api.EthAddress{}).ToFilecoinAddress()
// if err != nil {
// return nil, fmt.Errorf("failed to construct the ethereum system address: %w", err)
//}
// }
} else {
// The from address must be translatable to an f4 address.
var err error
Expand Down

0 comments on commit a22518d

Please sign in to comment.