From 26544e28f88f38ec0c51a57052600db49164fab2 Mon Sep 17 00:00:00 2001 From: rian Date: Wed, 12 Jun 2024 14:13:01 +0300 Subject: [PATCH] correct json tag price_in_fri --- rpc/types_block.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc/types_block.go b/rpc/types_block.go index d6772b88..15670387 100644 --- a/rpc/types_block.go +++ b/rpc/types_block.go @@ -235,7 +235,7 @@ type PendingBlockHeader struct { type ResourcePrice struct { // the price of one unit of the given resource, denominated in fri (10^-18 strk) - PriceInFRI *felt.Felt `json:"price_in_strk,omitempty"` + PriceInFRI *felt.Felt `json:"price_in_fri,omitempty"` // The price of one unit of the given resource, denominated in wei PriceInWei *felt.Felt `json:"price_in_wei"` }