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.
pull/585/head
sputn1ck 12 months ago
parent 0826b748f5
commit 9278c18768
No known key found for this signature in database
GPG Key ID: 671103D881A5F0E4

@ -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…
Cancel
Save