From f46375a50a88396f1c35f9578a4adb1e48f88de3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Kripalani?= Date: Tue, 7 Jul 2020 17:38:15 +0100 Subject: [PATCH] rename ClientAddressesMsg#Peer{=>Net}Addr. --- lotus-soup/main.go | 1 - lotus-soup/testkit/role_client.go | 4 ++-- lotus-soup/testkit/sync.go | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/lotus-soup/main.go b/lotus-soup/main.go index 17e2828b3..05311f6d6 100644 --- a/lotus-soup/main.go +++ b/lotus-soup/main.go @@ -19,4 +19,3 @@ func main() { run.InvokeMap(cases) } - diff --git a/lotus-soup/testkit/role_client.go b/lotus-soup/testkit/role_client.go index 98967f43c..7c62862b3 100644 --- a/lotus-soup/testkit/role_client.go +++ b/lotus-soup/testkit/role_client.go @@ -97,8 +97,8 @@ func PrepareClient(t *TestEnvironment) (*LotusClient, error) { return nil, err } t.SyncClient.MustPublish(ctx, ClientsAddrsTopic, &ClientAddressesMsg{ - PeerAddr: addrinfo, - WalletAddr: walletKey.Address, + PeerNetAddr: addrinfo, + WalletAddr: walletKey.Address, }) t.RecordMessage("waiting for all nodes to be ready") diff --git a/lotus-soup/testkit/sync.go b/lotus-soup/testkit/sync.go index 27a4bc50e..f565c501d 100644 --- a/lotus-soup/testkit/sync.go +++ b/lotus-soup/testkit/sync.go @@ -41,8 +41,8 @@ type GenesisMsg struct { } type ClientAddressesMsg struct { - PeerAddr peer.AddrInfo - WalletAddr address.Address + PeerNetAddr peer.AddrInfo + WalletAddr address.Address } type MinerAddressesMsg struct {