go fmt + lint.
This commit is contained in:
parent
93b3da98e8
commit
593255570b
@ -605,7 +605,7 @@ func MakeGenesisBlock(ctx context.Context, j journal.Journal, bs bstore.Blocksto
|
||||
if err != nil {
|
||||
return nil, xerrors.Errorf("failed to flush state tree: %w", err)
|
||||
}
|
||||
|
||||
|
||||
store := adt.WrapStore(ctx, cbor.NewCborStore(bs))
|
||||
emptyroot, err := adt0.MakeEmptyArray(store).Root()
|
||||
if err != nil {
|
||||
|
@ -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) {
|
||||
av, err := actorstypes.VersionForNetwork(nv)
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user