graph/db: thread context through to SourceNode
This commit is contained in:
12 files changed
+49
-32
No files matched your search
@@ -347,7 +347,7 @@ func TestWakeUpOnStaleBranch(t *testing.T) {
|
||||
// Give time to process new blocks.
|
||||
time.Sleep(time.Millisecond * 500)
|
||||
|
||||
selfNode, err := ctx.graph.SourceNode()
|
||||
selfNode, err := ctx.graph.SourceNode(context.Background())
|
||||
require.NoError(t, err)
|
||||
|
||||
// Create new router with same graph database.
|
||||
|
||||
Reference in new issue
Block a user