From 29f8c86632876c19fd026cdc0f4ffad198a007d4 Mon Sep 17 00:00:00 2001 From: Dmitrii Pichulin Date: Thu, 15 Aug 2024 17:05:48 +0300 Subject: [PATCH] no more first --- src/API/Node.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/API/Node.php b/src/API/Node.php index e63f155..53d2aa0 100644 --- a/src/API/Node.php +++ b/src/API/Node.php @@ -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