mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
loopdb: add nil check to boltdb liquidity test
This commit adds a nil check to the boltdb liquidity test. There was a difference between the sqlite and boltdb implementation. This test covers that.
This commit is contained in:
parent
0826b748f5
commit
9278c18768
1 changed files with 1 additions and 0 deletions
|
|
@ -484,6 +484,7 @@ func TestLiquidityParams(t *testing.T) {
|
|||
params, err := store.FetchLiquidityParams(ctxb)
|
||||
require.NoError(t, err, "failed to fetch params")
|
||||
require.Empty(t, params, "expect empty bytes")
|
||||
require.Nil(t, params)
|
||||
|
||||
params = []byte("test")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue