chanbackup: add SCB support for new anchor commitments

This commit is contained in:
Olaoluwa Osuntokun committed 2020-03-16 17:07:03 -07:00
1 parent 2e2f0450fd
commit 823a9cc2c2
5 files changed
+30 -20

No files matched your search

+9 -1
View File
@@ -229,12 +229,20 @@ func TestSinglePackUnpack(t *testing.T) {
valid: true,
},
// The new tweakless version, should pack/unpack with no problem.
// The new tweakless version, should pack/unpack with no
// problem.
{
version: TweaklessCommitVersion,
valid: true,
},
// The new anchor version, should pack/unpack with no
// problem.
{
version: AnchorsCommitVersion,
valid: true,
},
// A non-default version, atm this should result in a failure.
{
version: 99,