remove unused var.
This commit is contained in:
parent
a469840290
commit
a22518d96d
@ -79,8 +79,6 @@ var (
|
|||||||
_ EthEventAPI = *new(api.FullNode)
|
_ EthEventAPI = *new(api.FullNode)
|
||||||
)
|
)
|
||||||
|
|
||||||
var EmptyLogsBloom = make([]byte, 256)
|
|
||||||
|
|
||||||
// EthModule provides the default implementation of the standard Ethereum JSON-RPC API.
|
// EthModule provides the default implementation of the standard Ethereum JSON-RPC API.
|
||||||
//
|
//
|
||||||
// # Execution model reconciliation
|
// # Execution model reconciliation
|
||||||
@ -659,10 +657,10 @@ func (a *EthModule) ethCallToFilecoinMessage(ctx context.Context, tx ethtypes.Et
|
|||||||
// See https://github.com/filecoin-project/ref-fvm/issues/1173
|
// See https://github.com/filecoin-project/ref-fvm/issues/1173
|
||||||
from = builtinactors.BurntFundsActorAddr
|
from = builtinactors.BurntFundsActorAddr
|
||||||
// Send from the filecoin "system" address.
|
// Send from the filecoin "system" address.
|
||||||
//from, err = (api.EthAddress{}).ToFilecoinAddress()
|
// from, err = (api.EthAddress{}).ToFilecoinAddress()
|
||||||
//if err != nil {
|
// if err != nil {
|
||||||
// return nil, fmt.Errorf("failed to construct the ethereum system address: %w", err)
|
// return nil, fmt.Errorf("failed to construct the ethereum system address: %w", err)
|
||||||
//}
|
// }
|
||||||
} else {
|
} else {
|
||||||
// The from address must be translatable to an f4 address.
|
// The from address must be translatable to an f4 address.
|
||||||
var err error
|
var err error
|
||||||
|
Loading…
Reference in New Issue
Block a user