From e04aaa0de0561fc402c3e84cb077ec13dd3f7569 Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Sat, 30 Dec 2023 09:43:52 -0300 Subject: [PATCH] chanbackup: test encoding of taproot channel --- chanbackup/single_test.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/chanbackup/single_test.go b/chanbackup/single_test.go index c1e940740..a2d44027b 100644 --- a/chanbackup/single_test.go +++ b/chanbackup/single_test.go @@ -250,6 +250,13 @@ func TestSinglePackUnpack(t *testing.T) { valid: true, }, + // The new taproot channel lease version should + // pack/unpack with no problem. + { + version: SimpleTaprootVersion, + valid: true, + }, + // A non-default version, atm this should result in a failure. { version: 99,