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) run.InvokeMap(cases)
} }

View File

@ -97,8 +97,8 @@ func PrepareClient(t *TestEnvironment) (*LotusClient, error) {
return nil, err return nil, err
} }
t.SyncClient.MustPublish(ctx, ClientsAddrsTopic, &ClientAddressesMsg{ t.SyncClient.MustPublish(ctx, ClientsAddrsTopic, &ClientAddressesMsg{
PeerAddr: addrinfo, PeerNetAddr: addrinfo,
WalletAddr: walletKey.Address, WalletAddr: walletKey.Address,
}) })
t.RecordMessage("waiting for all nodes to be ready") t.RecordMessage("waiting for all nodes to be ready")

View File

@ -41,8 +41,8 @@ type GenesisMsg struct {
} }
type ClientAddressesMsg struct { type ClientAddressesMsg struct {
PeerAddr peer.AddrInfo PeerNetAddr peer.AddrInfo
WalletAddr address.Address WalletAddr address.Address
} }
type MinerAddressesMsg struct { type MinerAddressesMsg struct {