Skip to content

Commit

Permalink
fix context
Browse files Browse the repository at this point in the history
  • Loading branch information
jribbink committed Apr 12, 2024
1 parent 4ac8560 commit d0c0d18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/v1_1/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ func (g *Generator) generateDependenceInfo(ctx context.Context, contractName str
flowkit = g.testnetClient
}
if n.DependencyPinBlockHeight == 0 && flowkit != nil {
block, _ := flowkit.Gateway().GetLatestBlock()
block, _ := flowkit.Gateway().GetLatestBlock(ctx)
height := block.Height

details, err := g.GenerateDepPinDepthFirst(ctx, flowkit, n.Address, contractName, height)
Expand Down

0 comments on commit d0c0d18

Please sign in to comment.