Skip to content

Commit 2106cb4

Browse files
committed
archive: Use integer for describing block height
Signed-off-by: Alexandru Vasile <[email protected]>
1 parent b521e1e commit 2106cb4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/api/archive_unstable_finalizedHeight.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
**Parameters**: *none*
44

5-
**Return value**: String containing the hexadecimal-encoded height of the current finalized block of the chain.
5+
**Return value**: An integer height of the current finalized block of the chain.
66

77
The value returned by this function must only ever increase over time. In other words, if calling this function returns `N`, then calling it again later must return a value superior or equal to `N`.
88

src/api/archive_unstable_hashByHeight.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
**Parameters**:
44

5-
- `height`: String containing an hexadecimal-encoded integer.
5+
- `height`: Is an integer representing the height of the block.
66

77
**Return value**: Array (possibly empty) of strings containing an hexadecimal-encoded hash of a block header.
88

0 commit comments

Comments
 (0)