diff --git a/backend/src/blockchain.ts b/backend/src/blockchain.ts index 172e7a6..712182f 100644 --- a/backend/src/blockchain.ts +++ b/backend/src/blockchain.ts @@ -185,7 +185,6 @@ export async function getTransaction(transactionHash: string) { */ export async function getBlockHeight() { const client = getClient(); - const blockHeight: CallResult = - await client.blockchain.getBlockNumber(); + const blockHeight: CallResult = await client.block.current(); return blockHeight.data; }