channeldb: add custom blobs to RevocationLog+HTLCEntry
This'll be useful for custom channel types that want to store extra information that'll be useful to help handle channel revocation cases.
This commit is contained in:
1 parent
61f276856a
commit
669740c84e
4 files changed
+120
-21
No files matched your search
@@ -10031,7 +10031,7 @@ func TestCreateBreachRetribution(t *testing.T) {
|
||||
revokedLog := channeldb.NewRevocationLog(
|
||||
uint16(localIndex), uint16(remoteIndex), commitHash,
|
||||
fn.Some(ourAmtMsat), fn.Some(theirAmtMsat),
|
||||
[]*channeldb.HTLCEntry{htlc},
|
||||
[]*channeldb.HTLCEntry{htlc}, fn.None[tlv.Blob](),
|
||||
)
|
||||
|
||||
// Create a log with an empty local output index.
|
||||
|
||||
Reference in new issue
Block a user