From da8bda3248edb4eb74d07042328d59f29ecc1611 Mon Sep 17 00:00:00 2001 From: vyzo Date: Thu, 12 May 2022 09:47:27 +0300 Subject: [PATCH] fix typo --- node/builder_chain.go | 2 +- node/builder_miner.go | 2 +- node/modules/builtin_actors.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/node/builder_chain.go b/node/builder_chain.go index b75e7b553..650b79794 100644 --- a/node/builder_chain.go +++ b/node/builder_chain.go @@ -53,7 +53,7 @@ var ChainNode = Options( // right manifest cid. // This restriction will be lifted once we have the final actors v8 bundle and we know // the manifest cid. - Override(new(dtypes.BuiltinActorsLoaded), modules.LoadBultinActors), + Override(new(dtypes.BuiltinActorsLoaded), modules.LoadBuiltinActors), // Consensus settings Override(new(dtypes.DrandSchedule), modules.BuiltinDrandConfig), diff --git a/node/builder_miner.go b/node/builder_miner.go index f619308f8..11cd34af5 100644 --- a/node/builder_miner.go +++ b/node/builder_miner.go @@ -53,7 +53,7 @@ var MinerNode = Options( Override(new(*storage.AddressSelector), modules.AddressSelector(nil)), // builtin actors manifest - Override(new(dtypes.BuiltinActorsLoaded), modules.LoadBultinActors), + Override(new(dtypes.BuiltinActorsLoaded), modules.LoadBuiltinActors), Override(new(dtypes.UniversalBlockstore), modules.MemoryBlockstore), ) diff --git a/node/modules/builtin_actors.go b/node/modules/builtin_actors.go index d2975276d..1fd683850 100644 --- a/node/modules/builtin_actors.go +++ b/node/modules/builtin_actors.go @@ -19,7 +19,7 @@ import ( cbor "github.com/ipfs/go-ipld-cbor" ) -func LoadBultinActors(lc fx.Lifecycle, mctx helpers.MetricsCtx, r repo.LockedRepo, bs dtypes.UniversalBlockstore, ds dtypes.MetadataDS) (result dtypes.BuiltinActorsLoaded, err error) { +func LoadBuiltinActors(lc fx.Lifecycle, mctx helpers.MetricsCtx, r repo.LockedRepo, bs dtypes.UniversalBlockstore, ds dtypes.MetadataDS) (result dtypes.BuiltinActorsLoaded, err error) { ctx := helpers.LifecycleCtx(mctx, lc) // TODO how to properly get the network name?