@@ -287,6 +287,7 @@ func (n *NetworkHarness) NewNode(t *testing.T, name string, extraArgs []string,
287
287
288
288
return n .newNode (
289
289
t , name , extraArgs , litArgs , false , remoteMode , nil , wait ,
290
+ false ,
290
291
)
291
292
}
292
293
@@ -295,8 +296,8 @@ func (n *NetworkHarness) NewNode(t *testing.T, name string, extraArgs []string,
295
296
// can be used immediately. Otherwise, the node will require an additional
296
297
// initialization phase where the wallet is either created or restored.
297
298
func (n * NetworkHarness ) newNode (t * testing.T , name string , extraArgs ,
298
- litArgs []string , hasSeed , remoteMode bool , password []byte , wait bool ,
299
- opts ... node.Option ) (* HarnessNode , error ) {
299
+ litArgs []string , hasSeed , remoteMode bool , password []byte , wait ,
300
+ skipUnlock bool , opts ... node.Option ) (* HarnessNode , error ) {
300
301
301
302
baseCfg := & node.BaseNodeConfig {
302
303
Name : name ,
@@ -305,6 +306,7 @@ func (n *NetworkHarness) newNode(t *testing.T, name string, extraArgs,
305
306
BackendCfg : n .BackendCfg ,
306
307
NetParams : n .netParams ,
307
308
ExtraArgs : extraArgs ,
309
+ SkipUnlock : skipUnlock ,
308
310
}
309
311
for _ , opt := range opts {
310
312
opt (baseCfg )
0 commit comments