channeldb: add persistance of the onion blob
In this commit htlc channeldb representation have been augmented with onion blob field, and (de)serialisaion functions have been changed to make the onion blob persistant.
This commit is contained in:
1 parent
a10ed36e8f
commit
7aa7cb1caf
2 files changed
+31
-3
No files matched your search
@@ -207,6 +207,7 @@ func TestOpenChannelPutGetDelete(t *testing.T) {
|
||||
Amt: 10,
|
||||
RHash: key,
|
||||
RefundTimeout: 1,
|
||||
OnionBlob: []byte("onionblob"),
|
||||
},
|
||||
}
|
||||
if err := state.FullSync(); err != nil {
|
||||
|
||||
Reference in new issue
Block a user