channeldb: final htlc resolution storage opt-in

This commit is contained in:
Joost Jager
2023-01-19 13:04:43 +01:00
parent b50d59ec2e
commit 7a785c74c4
10 changed files with 85 additions and 27 deletions

View File

@@ -1463,7 +1463,7 @@ func TestKeyLocatorEncoding(t *testing.T) {
func TestFinalHtlcs(t *testing.T) {
t.Parallel()
fullDB, err := MakeTestDB(t)
fullDB, err := MakeTestDB(t, OptionStoreFinalHtlcResolutions(true))
require.NoError(t, err, "unable to make test database")
cdb := fullDB.ChannelStateDB()