rename ClientAddressesMsg#Peer{=>Net}Addr.

This commit is contained in:
Raúl Kripalani 2020-07-07 17:38:15 +01:00
parent 69332e1189
commit f46375a50a
3 changed files with 4 additions and 5 deletions

View File

@ -19,4 +19,3 @@ func main() {
run.InvokeMap(cases)
}

View File

@ -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")

View File

@ -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 {