test: modify new network announcement hook to be in node level

This commit modifies the two newly added network announcement hook stop
be at the lightningNode level rather than on the level of the entire
test framework. With this, callers are now able to better utilize the
newly added RPC’s since they can target particular peers and wait for
network messages to be processed rather then depending on a single node
(Alice) for information about the announcements propagated within the
network.
This commit is contained in:
Olaoluwa Osuntokun
2017-03-14 15:38:04 -07:00
parent 5623df6d7e
commit a179a3adbb
3 changed files with 256 additions and 211 deletions

View File

@ -1722,8 +1722,6 @@ func (r *rpcServer) SubscribeChannelGraph(req *lnrpc.GraphTopologySubscription,
return nil
}
}
return nil
}
// marshallTopologyChange performs a mapping from the topology change sturct