chanbackup: test encoding of taproot channel

This commit is contained in:
Boris Nagaev
2023-12-30 09:43:52 -03:00
parent a1aec88268
commit e04aaa0de0

View File

@@ -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,