go fmt + lint.

This commit is contained in:
Raúl Kripalani 2023-01-11 17:39:58 +00:00 committed by raulk
parent 93b3da98e8
commit 593255570b
2 changed files with 2 additions and 2 deletions

View File

@ -605,7 +605,7 @@ func MakeGenesisBlock(ctx context.Context, j journal.Journal, bs bstore.Blocksto
if err != nil { if err != nil {
return nil, xerrors.Errorf("failed to flush state tree: %w", err) return nil, xerrors.Errorf("failed to flush state tree: %w", err)
} }
store := adt.WrapStore(ctx, cbor.NewCborStore(bs)) store := adt.WrapStore(ctx, cbor.NewCborStore(bs))
emptyroot, err := adt0.MakeEmptyArray(store).Root() emptyroot, err := adt0.MakeEmptyArray(store).Root()
if err != nil { if err != nil {

View File

@ -73,7 +73,7 @@ func MakeEthNullAddressActor(av actorstypes.Version, addr address.Address) (*typ
func SetupEthNullAddresses(ctx context.Context, st *state.StateTree, nv network.Version) ([]address.Address, error) { func SetupEthNullAddresses(ctx context.Context, st *state.StateTree, nv network.Version) ([]address.Address, error) {
av, err := actorstypes.VersionForNetwork(nv) av, err := actorstypes.VersionForNetwork(nv)
if err != nil { if err != nil {
return nil, xerrors.Errorf("failed to resolve actors version for network version %d: %w", err) return nil, xerrors.Errorf("failed to resolve actors version for network version %d: %w", av, err)
} }
if av < actorstypes.Version10 { if av < actorstypes.Version10 {