lntemp+itest: refactor testRemoteSigner

This commit is contained in:
yyforyongyu
2022-08-11 15:56:06 +08:00
parent b8566359da
commit 38eaa36d90
5 changed files with 201 additions and 179 deletions

View File

@@ -164,11 +164,11 @@ func (hn *HarnessNode) String() string {
type nodeCfg struct {
LogFilenamePrefix string
ExtraArgs []string
HasSeed bool
SkipUnlock bool
Password []byte
P2PPort int
RPCPort int
RESTPort int
ProfilePort int
AcceptKeySend bool
FeeURL string
}
@@ -185,6 +185,8 @@ func (hn *HarnessNode) String() string {
PubKey: hn.PubKeyStr,
State: hn.State,
NodeCfg: nodeCfg{
SkipUnlock: hn.Cfg.SkipUnlock,
Password: hn.Cfg.Password,
LogFilenamePrefix: hn.Cfg.LogFilenamePrefix,
ExtraArgs: hn.Cfg.ExtraArgs,
P2PPort: hn.Cfg.P2PPort,