From 54e1f519361577883cf06f1afd1cdd8e02ccd1c2 Mon Sep 17 00:00:00 2001 From: Anjan Roy Date: Fri, 1 Jan 2021 11:34:12 +0530 Subject: [PATCH] fix: JSON value path fixed --- root/src/mappings/staking-info.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/src/mappings/staking-info.ts b/root/src/mappings/staking-info.ts index 6ab68d4..c68584a 100644 --- a/root/src/mappings/staking-info.ts +++ b/root/src/mappings/staking-info.ts @@ -75,7 +75,7 @@ export function handleStaked(event: Staked): void { // Keeping NFT owner address, to be helpful while responding // client queries in staking API - let nft = StakingNft.bind(Address.fromString(NetworkConfig.stakingNft.address)) + let nft = StakingNft.bind(Address.fromString(NetworkConfig.contracts.stakingNft.address)) validator.owner = nft.ownerOf(event.params.validatorId) validator.totalStaked = event.params.total