mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-18 05:42:09 +01:00
multi: fix CI for minor release branch
This commit fixes a couple of issues that only occur on the branch we use for minor releases. The branch doesn't contain all refactors and cleanups so a couple of very minor things need to be fixed. Because we don't have all new features of the master branch we also can't apply the fuzz corpora for the master branch as that can lead to false positives.
This commit is contained in:
parent
dd261b8aa3
commit
f78cafca7e
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
@ -198,15 +198,6 @@ jobs:
|
||||
if: github.event_name == 'pull_request'
|
||||
uses: ./.github/actions/rebase
|
||||
|
||||
- name: git checkout fuzzing seeds
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: lightninglabs/lnd-fuzz
|
||||
path: lnd-fuzz
|
||||
|
||||
- name: rsync fuzzing seeds
|
||||
run: rsync -a --ignore-existing lnd-fuzz/ ./
|
||||
|
||||
- name: setup go ${{ env.GO_VERSION }}
|
||||
uses: ./.github/actions/setup-go
|
||||
with:
|
||||
|
@ -532,6 +532,7 @@ func bumpForceCloseFee(ctx *cli.Context) error {
|
||||
|
||||
for _, sweep := range sweeps.PendingSweeps {
|
||||
// Only bump anchor sweeps.
|
||||
//nolint:lll
|
||||
if sweep.WitnessType != walletrpc.WitnessType_COMMITMENT_ANCHOR {
|
||||
continue
|
||||
}
|
||||
|
3
go.mod
3
go.mod
@ -211,9 +211,6 @@ replace github.com/lightningnetwork/lnd/sqldb => ./sqldb
|
||||
// allows us to specify that as an option.
|
||||
replace google.golang.org/protobuf => github.com/lightninglabs/protobuf-go-hex-display v1.30.0-hex-display
|
||||
|
||||
// Temporary replace until the next version of sqldb is taged.
|
||||
replace github.com/lightningnetwork/lnd/sqldb => ./sqldb
|
||||
|
||||
// If you change this please also update .github/pull_request_template.md,
|
||||
// docs/INSTALL.md and GO_IMAGE in lnrpc/gen_protos_docker.sh.
|
||||
go 1.22.6
|
||||
|
@ -34,6 +34,11 @@ func testInvoiceHtlcModifierBasic(ht *lntest.HarnessTest) {
|
||||
resp := ht.OpenMultiChannelsAsync(reqs)
|
||||
cpAB, cpBC := resp[0], resp[1]
|
||||
|
||||
ht.Cleanup(func() {
|
||||
ht.CloseChannel(alice, cpAB)
|
||||
ht.CloseChannel(bob, cpBC)
|
||||
})
|
||||
|
||||
// Make sure Alice is aware of channel Bob=>Carol.
|
||||
ht.AssertTopologyChannelOpen(alice, cpBC)
|
||||
|
||||
@ -214,10 +219,6 @@ func testInvoiceHtlcModifierBasic(ht *lntest.HarnessTest) {
|
||||
}
|
||||
|
||||
cancelModifier()
|
||||
|
||||
// Finally, close channels.
|
||||
ht.CloseChannel(alice, cpAB)
|
||||
ht.CloseChannel(bob, cpBC)
|
||||
}
|
||||
|
||||
// acceptorTestCase is a helper struct to hold test case data.
|
||||
|
@ -761,7 +761,7 @@ func (p *paymentLifecycle) amendFirstHopData(rt *route.Route) error {
|
||||
// and apply its side effects to the UpdateAddHTLC message.
|
||||
result, err := fn.MapOptionZ(
|
||||
p.router.cfg.TrafficShaper,
|
||||
//nolint:ll
|
||||
//nolint:lll
|
||||
func(ts htlcswitch.AuxTrafficShaper) fn.Result[extraDataRequest] {
|
||||
newAmt, newRecords, err := ts.ProduceHtlcExtraData(
|
||||
rt.TotalAmount, p.firstHopCustomRecords,
|
||||
|
Loading…
x
Reference in New Issue
Block a user