lnd.xprv/cmd/lncli
Olaoluwa Osuntokun 926f5c84d0
cmd/lncli: always consume first message for openchannel/closechannel
This commit modifies the behavior for the commands which open and close
channels on the command line. Previsouly a user needed to use the
`—block` flag in order to get information about any possible errors or
the full progress of a request. This commit alters the behavior
slightly to block until the _first_ message or error is returned from
the gRPC stream.

With this change, the command line usage has a better UX as users
instantly get more information without having to peer into the logs.
2017-02-07 19:36:24 -08:00
..
commands.go cmd/lncli: always consume first message for openchannel/closechannel 2017-02-07 19:36:24 -08:00
main.go cmd/lncli: ensure gRPC client is closed after request 2017-01-29 14:51:42 -08:00