Skip to content

Commit

Permalink
fetch head transactionally
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-ogrady committed Dec 14, 2020
1 parent fd4438b commit 0d2ec18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/modules/block_storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,7 @@ func (b *BlockStorage) FindTransaction(
return nil, nil, nil
}

head, err := b.GetHeadBlockIdentifier(ctx)
head, err := b.GetHeadBlockIdentifierTransactional(ctx, txn)
if err != nil {
return nil, nil, err
}
Expand Down

0 comments on commit 0d2ec18

Please sign in to comment.