Skip to content

update btcwallet #1255

Description

@ZZiigguurraatt

I'm trying to compile with https://github.com/lightninglabs/lightning-terminal/blob/master/dev.Dockerfile using the LND_VERSION build arg.

litd master currently does not compile with lnd master. I get the following error:

#12 21.45 \033[0;32m Installing lightning-terminal without UI.\033[0m
#12 21.45 go install -v -tags="litd_no_ui litd autopilotrpc signrpc walletrpc chainrpc invoicesrpc watchtowerrpc neutrinorpc monitoring peersrpc kvdb_postgres kvdb_etcd kvdb_sqlite" -ldflags " -X github.com/lightningnetwork/lnd/build.Commit=lightning-terminal- -X github.com/lightningnetwork/lnd/build.CommitHash= -X github.com/lightningnetwork/lnd/build.GoVersion= -X github.com/lightningnetwork/lnd/build.RawTags=litd,autopilotrpc,signrpc,walletrpc,chainrpc,invoicesrpc,watchtowerrpc,neutrinorpc,monitoring,peersrpc,kvdb_postgres,kvdb_etcd,kvdb_sqlite -X github.com/lightninglabs/lightning-terminal.appFilesPrefix= -X github.com/lightninglabs/lightning-terminal.Commit= -X github.com/lightninglabs/lightning-terminal.CommitHash= -X github.com/lightninglabs/lightning-terminal.Dirty=-dirty -X github.com/lightninglabs/loop.Commit=v0.31.8-beta -X github.com/lightninglabs/pool.Commit=v0.6.6-beta -X github.com/lightninglabs/taproot-assets.Commit=v0.7.1" github.com/lightninglabs/lightning-terminal/cmd/litd
#12 21.81 github.com/btcsuite/btcwallet/chain
#12 21.87 # github.com/btcsuite/btcwallet/chain
#12 21.87 /go/pkg/mod/github.com/btcsuite/btcwallet@v0.16.17/chain/chainservice.go:40:30: cannot use (*neutrino.ChainService)(nil) (value of type *neutrino.ChainService) as NeutrinoChainService value in variable declaration: *neutrino.ChainService does not implement NeutrinoChainService (wrong type for method Start)
#12 21.87               have Start(context.Context) error
#12 21.87               want Start() error
#12 21.87 /go/pkg/mod/github.com/btcsuite/btcwallet@v0.16.17/chain/neutrino.go:92:16: cannot use chainService (variable of type *neutrino.ChainService) as NeutrinoChainService value in struct literal: *neutrino.ChainService does not implement NeutrinoChainService (wrong type for method Start)
#12 21.87               have Start(context.Context) error
#12 21.87               want Start() error
#12 21.89 make: *** [Makefile:151: go-install-noui] Error 1

I believe the problem is due to needing to update litd to account for lightningnetwork/lnd@641ff68 where btcwallet is updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions