Skip to content

Commit

Permalink
channeldb: fix unit test API usage after graph cache speedups
Browse files Browse the repository at this point in the history
  • Loading branch information
Roasbeef committed Jan 26, 2022
1 parent 09b1ae9 commit 9448ca9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions channeldb/graph_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3812,7 +3812,7 @@ func TestGraphLoading(t *testing.T) {
graph, err := NewChannelGraph(
backend, opts.RejectCacheSize, opts.ChannelCacheSize,
opts.BatchCommitInterval, opts.PreAllocCacheNumNodes,
true, false,
true,
)
require.NoError(t, err)

Expand All @@ -3826,7 +3826,7 @@ func TestGraphLoading(t *testing.T) {
graphReloaded, err := NewChannelGraph(
backend, opts.RejectCacheSize, opts.ChannelCacheSize,
opts.BatchCommitInterval, opts.PreAllocCacheNumNodes,
true, false,
true,
)
require.NoError(t, err)

Expand Down

0 comments on commit 9448ca9

Please sign in to comment.