Skip to content

Commit

Permalink
Fix rpc error: blockheight: should be an integer
Browse files Browse the repository at this point in the history
  • Loading branch information
ksedgwic committed Aug 19, 2023
1 parent 60c07a7 commit ef5c416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Boss/Mod/BlockTracker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Ev::Io<void> BlockTracker::loop(Boss::Mod::Rpc& rpc) {
return Ev::yield().then([this, &rpc]() {
auto js = Json::Out()
.start_object()
.field("blockheight", double(height + 1))
.field("blockheight", std::uint32_t(height + 1))
.field("timeout", double(86400))
.end_object()
;
Expand Down

0 comments on commit ef5c416

Please sign in to comment.