Skip to content

can't build latest litd with latest lnd #1044

@ZZiigguurraatt

Description

@ZZiigguurraatt

I'm trying to build lightning-terminal from the master branch using commit b0230d4ae4806a8904f6a932e557ee396802d411 and the latest commit of lnd on the master branch.

In order to do this, I try to run the following:

go mod edit -replace=github.com/lightningnetwork/lnd=github.com/lightningnetwork/lnd@master
$ go mod tidy
go: downloading github.com/lightningnetwork/lnd v0.19.0-beta.rc2.0.20250417205007-51add8a701ee
$

Inside go.mod, there is a line added at the end

replace github.com/lightningnetwork/lnd => github.com/lightningnetwork/lnd v0.19.0-beta.rc2.0.20250417205007-51add8a701ee

I then run make, but that errors out with

# github.com/lightninglabs/taproot-assets/tapchannel
/home/zzzzz/go/pkg/mod/github.com/lightninglabs/[email protected]/tapchannel/aux_leaf_creator.go:55:35: cannot use in.UnfilteredView (variable of type lnwallet.AuxHtlcView) as *lnwallet.HtlcView value in argument to GenerateCommitmentAllocations
/home/zzzzz/go/pkg/mod/github.com/lightninglabs/[email protected]/tapchannel/aux_leaf_creator.go:253:35: cannot use in.UnfilteredView (variable of type lnwallet.AuxHtlcView) as *lnwallet.HtlcView value in argument to GenerateCommitmentAllocations
github.com/lightninglabs/taproot-assets/rpcperms
make: *** [Makefile:132: go-build] Error 1

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