chanbackup: add SCB support for new anchor commitments

This commit is contained in:
Olaoluwa Osuntokun
2020-03-13 18:50:35 -07:00
parent 2e2f0450fd
commit 823a9cc2c2
5 changed files with 30 additions and 20 deletions

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,