multi: fix make fmt
This commit is contained in:
77 files changed
+700
-641
No files matched your search
@@ -388,15 +388,16 @@ func openChannel(ctx *cli.Context) error {
|
||||
// protocol involves several steps between the RPC server and the CLI client:
|
||||
//
|
||||
// RPC server CLI client
|
||||
// | |
|
||||
// | |<------open channel (stream)-----|
|
||||
// | |-------ready for funding----->| |
|
||||
// | |<------PSBT verify------------| |
|
||||
// | |-------ready for signing----->| |
|
||||
// | |<------PSBT finalize----------| |
|
||||
// | |-------channel pending------->| |
|
||||
// | |-------channel open------------->|
|
||||
// | |
|
||||
//
|
||||
// | |
|
||||
// | |<------open channel (stream)-----|
|
||||
// | |-------ready for funding----->| |
|
||||
// | |<------PSBT verify------------| |
|
||||
// | |-------ready for signing----->| |
|
||||
// | |<------PSBT finalize----------| |
|
||||
// | |-------channel pending------->| |
|
||||
// | |-------channel open------------->|
|
||||
// | |
|
||||
func openChannelPsbt(rpcCtx context.Context, ctx *cli.Context,
|
||||
client lnrpc.LightningClient,
|
||||
req *lnrpc.OpenChannelRequest) error {
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"strconv"
|
||||
|
||||
"github.com/lightningnetwork/lnd/lnrpc/neutrinorpc"
|
||||
"github.com/urfave/cli"
|
||||
|
||||
"strconv"
|
||||
)
|
||||
|
||||
func getNeutrinoKitClient(ctx *cli.Context) (neutrinorpc.NeutrinoKitClient, func()) {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build !neutrinorpc
|
||||
// +build !neutrinorpc
|
||||
|
||||
package main
|
||||
|
||||
Reference in new issue
Block a user