Skip to content

Commit 7de90b1

Browse files
authored
Merge pull request #92 from paritytech/lexnv/archive_int
archive: Use integer for describing block height
2 parents b3b761d + eddc7b8 commit 7de90b1

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`: 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)