Skip to content

#1990: display current block instead of treasury when calling block w…#2040

Open
Maxnflaxl wants to merge 1 commit into
boost-1.90from
issue/1990
Open

#1990: display current block instead of treasury when calling block w…#2040
Maxnflaxl wants to merge 1 commit into
boost-1.90from
issue/1990

Conversation

@Maxnflaxl
Copy link
Copy Markdown
Member

@Maxnflaxl Maxnflaxl commented Apr 18, 2026

display current block instead of treasury when calling block with no arguments

The get_treasury fallback is kept for safety (e.g., if the node has no blocks yet and h is still 0 after the else branch), but in practice it will never be reached under normal operation.

@Maxnflaxl Maxnflaxl requested a review from valdok April 18, 2026 15:43
@Maxnflaxl Maxnflaxl marked this pull request as ready for review May 3, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Explorer node: Display current block instead of Treasury when using "block" with no arguments

1 participant