cnct: persist anchor resolutions
This commit is contained in:
3 files changed
+87
-2
No files matched your search
@@ -46,6 +46,15 @@ var (
|
||||
Index: 2,
|
||||
}
|
||||
|
||||
testChanPoint3 = wire.OutPoint{
|
||||
Hash: chainhash.Hash{
|
||||
0x48, 0x59, 0xe6, 0x96, 0x31, 0x13, 0xa1, 0x17,
|
||||
0x51, 0xb6, 0x37, 0xd8, 0xfc, 0xd2, 0xc6, 0xda,
|
||||
0x2d, 0xe7, 0x93, 0xe4,
|
||||
},
|
||||
Index: 3,
|
||||
}
|
||||
|
||||
testPreimage = [32]byte{
|
||||
0x52, 0xb6, 0x37, 0xd8, 0xfc, 0xd2, 0xc6, 0xda,
|
||||
0x48, 0x59, 0xe6, 0x96, 0x31, 0x13, 0xa1, 0x17,
|
||||
@@ -540,6 +549,10 @@ func TestContractResolutionsStorage(t *testing.T) {
|
||||
},
|
||||
},
|
||||
},
|
||||
AnchorResolution: &lnwallet.AnchorResolution{
|
||||
CommitAnchor: testChanPoint3,
|
||||
AnchorSignDescriptor: testSignDesc,
|
||||
},
|
||||
}
|
||||
|
||||
// First make sure that fetching unlogged contract resolutions will
|
||||
|
||||
Reference in new issue
Block a user