Skip to content

Commit

Permalink
use correct version of glightning [issue #90]
Browse files Browse the repository at this point in the history
- Replace niftynei/glightning with elementsproject/glightning
- Use latest version of breez/lntest
  • Loading branch information
lndev authored and JssDWt committed Jul 28, 2023
1 parent 5813a9a commit 349ef98
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions cln/cln_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/breez/lspd/lightning"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/wire"
"github.com/niftynei/glightning/glightning"
"github.com/elementsproject/glightning/glightning"
"golang.org/x/exp/slices"
)

Expand Down Expand Up @@ -122,7 +122,7 @@ func (c *ClnClient) OpenChannel(req *lightning.OpenChannelRequest) (*wire.OutPoi
minConfs,
glightning.NewMsat(0),
minDepth,
glightning.NewSat(0),
glightning.NewMsat(0),
)

if err != nil {
Expand Down
7 changes: 3 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@ go 1.19

require (
github.com/aws/aws-sdk-go v1.34.0
github.com/breez/lntest v0.0.23
github.com/breez/lntest v0.0.25
github.com/btcsuite/btcd v0.23.5-0.20230228185050-38331963bddd
github.com/btcsuite/btcd/btcec/v2 v2.3.2
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.2
github.com/caddyserver/certmagic v0.11.2
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1
github.com/docker/docker v20.10.24+incompatible
github.com/docker/go-connections v0.4.0
github.com/elementsproject/glightning v0.0.0-20230525134205-ef34d849f564
github.com/golang/protobuf v1.5.2
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0
github.com/jackc/pgtype v1.8.1
github.com/jackc/pgx/v4 v4.13.0
github.com/lightningnetwork/lightning-onion v1.2.1-0.20221202012345-ca23184850a1
github.com/lightningnetwork/lnd v0.16.2-beta
github.com/lightningnetwork/lnd/tlv v1.1.0
github.com/niftynei/glightning v0.8.2
github.com/stretchr/testify v1.8.1
go.starlark.net v0.0.0-20230612165344-9532f5667272
golang.org/x/exp v0.0.0-20230321023759-10a507213a29
Expand Down Expand Up @@ -189,5 +189,4 @@ require (
)

replace github.com/lightningnetwork/lnd v0.16.2-beta => github.com/breez/lnd v0.15.0-beta.rc6.0.20230501134702-cebcdf1b17fd

replace github.com/niftynei/glightning v0.8.2 => github.com/breez/glightning v0.0.0-20221219103549-0e2a13b9b3ed
replace github.com/elementsproject/glightning => github.com/breez/glightning v0.0.1-breez

0 comments on commit 349ef98

Please sign in to comment.