Skip to content

Commit

Permalink
fix firehose block version: hardcode to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
sduchesneau committed Nov 10, 2023
1 parent 1081f0f commit 3a835f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pb/sf/near/type/v1/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (b *Block) GetFirehoseBlockParentNumber() uint64 {
}

func (b *Block) GetFirehoseBlockVersion() int32 {
return int32(b.Header.LatestProtocolVersion)
return 1
}

func (b *Block) GetFirehoseBlockParentID() string {
Expand Down

0 comments on commit 3a835f7

Please sign in to comment.