Skip to content

Commit

Permalink
fix: JSON value path fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
itzmeanjan committed Jan 1, 2021
1 parent e2b7a57 commit 54e1f51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/src/mappings/staking-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 54e1f51

Please sign in to comment.