mirror of
https://github.com/lightninglabs/loop
synced 2024-11-16 00:12:52 +00:00
029d0870b5
This is needed to cover the code of SQLStore with tests. To achieve compatibility with loopdb (SQLite), the following changes were done: - DestAddr is filled to avoid crash in SQL layer - Preimage is filled to avoid uniqueness checks by the DB - the code working with batch IDs was changed to work correctly when batch_id starts with 1 instead of 0 - SQL swap store has to have a swap with swap_hash from sweep to satisfy foreign key constraint of the DB |
||
---|---|---|
.. | ||
log.go | ||
store_mock.go | ||
store.go | ||
sweep_batch.go | ||
sweep_batcher_test.go | ||
sweep_batcher.go |