Skip to content

Commit

Permalink
epoch start fix
Browse files Browse the repository at this point in the history
  • Loading branch information
owl352 committed Sep 3, 2024
1 parent 0294c90 commit f56517b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function getEpochsInfoFactory(grpcTransport) {
const getEpochInfosRequest = new GetEpochsInfoRequest();
getEpochInfosRequest.setV0(
new GetEpochsInfoRequestV0()
.setStartEpoch(new UInt32Value([startEpoch]))
.setStartEpoch(startEpoch ? new UInt32Value([startEpoch]) : undefined)
.setCount(count)
.setAscending(!!options.ascending)
.setProve(!!options.prove),
Expand Down

0 comments on commit f56517b

Please sign in to comment.