sweep+contractcourt: track best height in UtxoSweeper

Thus we can use shorter method signatures. In doing so we also remove an
old TODO in one use case of `CreateSweepTx`.
This commit is contained in:
yyforyongyu committed 2024-04-19 21:33:20 +08:00
1 parent ca0813b1bf
commit 84a6fdcda3
5 files changed
+39 -49

No files matched your search

+1 -1
View File
@@ -2530,7 +2530,7 @@ func TestGetInputLists(t *testing.T) {
t.Run(tc.name, func(t *testing.T) {
t.Parallel()
allSets, newSets, err := s.getInputLists(tc.cluster, 0)
allSets, newSets, err := s.getInputLists(tc.cluster)
require.NoError(t, err)
if tc.expectNilNewSet {