diff --git a/itests/kit2/ensemble_opts.go b/itests/kit2/ensemble_opts.go index df7fdf41b..c7edb99a6 100644 --- a/itests/kit2/ensemble_opts.go +++ b/itests/kit2/ensemble_opts.go @@ -42,10 +42,9 @@ func MockProofs() EnsembleOpt { } } -// VerifierRootKey specifies the key to be enlisted as the verified clients -// registry root, as well as the initial balance to be attributed during -// genesis. -func VerifierRootKey(key *wallet.Key, balance abi.TokenAmount) EnsembleOpt { +// RootVerifier specifies the key to be enlisted as the verified registry root, +// as well as the initial balance to be attributed during genesis. +func RootVerifier(key *wallet.Key, balance abi.TokenAmount) EnsembleOpt { return func(opts *ensembleOpts) error { opts.verifiedRoot.key = key opts.verifiedRoot.initialBalance = balance diff --git a/itests/verifreg_test.go b/itests/verifreg_test.go index b1e3bcfa4..108da6ecf 100644 --- a/itests/verifreg_test.go +++ b/itests/verifreg_test.go @@ -40,7 +40,7 @@ func TestVerifiedClientTopUp(t *testing.T) { require.NoError(t, err) node, _, ens := kit2.EnsembleMinimal(t, kit2.MockProofs(), - kit2.VerifierRootKey(rootKey, abi.NewTokenAmount(bal.Int64())), + kit2.RootVerifier(rootKey, abi.NewTokenAmount(bal.Int64())), kit2.Account(verifierKey, abi.NewTokenAmount(bal.Int64())), // assign some balance to the verifier so they can send an AddClient message. kit2.ConstructorOpts(kit2.InstantaneousNetworkVersion(nv)))