itest: check peer alias in ListChannels
This commit is contained in:
1 parent
3e5943b7f9
commit
4c198bdfde
3 files changed
+41
-3
No files matched your search
+4
-2
@@ -1598,10 +1598,12 @@ func (h *HarnessTest) MineEmptyBlocks(num int) []*wire.MsgBlock {
|
||||
// QueryChannelByChanPoint tries to find a channel matching the channel point
|
||||
// and asserts. It returns the channel found.
|
||||
func (h *HarnessTest) QueryChannelByChanPoint(hn *node.HarnessNode,
|
||||
chanPoint *lnrpc.ChannelPoint) *lnrpc.Channel {
|
||||
chanPoint *lnrpc.ChannelPoint,
|
||||
opts ...ListChannelOption) *lnrpc.Channel {
|
||||
|
||||
channel, err := h.findChannel(hn, chanPoint)
|
||||
channel, err := h.findChannel(hn, chanPoint, opts...)
|
||||
require.NoError(h, err, "failed to query channel")
|
||||
|
||||
return channel
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user