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
2023-10-24 07:14:55 +08:00
parent ca0813b1bf
commit 84a6fdcda3
5 changed files with 39 additions and 49 deletions

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 {