Skip to content

Commit

Permalink
no more first
Browse files Browse the repository at this point in the history
  • Loading branch information
deemru committed Aug 15, 2024
1 parent 48ad0e3 commit 29f8c86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/API/Node.php
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ function getBlocks( int $fromHeight, int $toHeight ): array

function getGenesisBlock(): Block
{
return $this->get( '/blocks/first' )->asBlock();
return $this->get( '/blocks/at/1' )->asBlock();
}

function getLastBlock(): Block
Expand Down

0 comments on commit 29f8c86

Please sign in to comment.