mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
loopdb: replace swap state enum by state data object
This commits lays down the foundation in the database for adding more persistent state data to swaps.
This commit is contained in:
parent
eece3adad1
commit
1b306ad425
14 changed files with 94 additions and 58 deletions
|
|
@ -202,7 +202,9 @@ func testResume(t *testing.T, expired, preimageRevealed, expectSuccess bool) {
|
|||
Loop: loopdb.Loop{
|
||||
Events: []*loopdb.LoopEvent{
|
||||
{
|
||||
State: state,
|
||||
SwapStateData: loopdb.SwapStateData{
|
||||
State: state,
|
||||
},
|
||||
},
|
||||
},
|
||||
Hash: hash,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue