lnrpc: making PendingChannels req/resp naming scheme consistent

In this commit we rename the lnrpc.PendingChannelRequest and
lnrpc.PendingChannelResponse to
lnrpc.PendingChannelsRequest/lnrpc.PendingChannelsResponse. We do this
as we strive to ensure that the naming scheme across the RPC interface
is consistent.
This commit is contained in:
Olaoluwa Osuntokun committed 2018-01-04 14:20:31 -06:00
1 parent 445e11db5c
commit 7421584341
7 files changed
+426 -421

No files matched your search

+1 -1
View File
@@ -901,7 +901,7 @@ func pendingChannels(ctx *cli.Context) error {
client, cleanUp := getClient(ctx)
defer cleanUp()
req := &lnrpc.PendingChannelRequest{}
req := &lnrpc.PendingChannelsRequest{}
resp, err := client.PendingChannels(ctxb, req)
if err != nil {
return err