From 66e06b08cbcab5e838a27527c1c052c3fcb80720 Mon Sep 17 00:00:00 2001 From: salaheldinsoliman <49910731+salaheldinsoliman@users.noreply.github.com> Date: Tue, 25 Jun 2024 17:16:52 +0200 Subject: [PATCH] fix GetBalance.sol contract (#1632) Signed-off-by: salaheldinsoliman --- .../isc/v1.1/docs/how-tos/core-contracts/basics/get-balance.md | 2 +- .../isc/v1.3/docs/how-tos/core-contracts/basics/get-balance.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/build/isc/v1.1/docs/how-tos/core-contracts/basics/get-balance.md b/docs/build/isc/v1.1/docs/how-tos/core-contracts/basics/get-balance.md index aa25f559ac0..8ab06fafb02 100644 --- a/docs/build/isc/v1.1/docs/how-tos/core-contracts/basics/get-balance.md +++ b/docs/build/isc/v1.1/docs/how-tos/core-contracts/basics/get-balance.md @@ -67,7 +67,7 @@ contract GetBalance { emit GotNativeTokenBalance(nativeTokens); uint256 nfts = ISC.accounts.getL2NFTAmount(agentID); - emit GotNativeTokenBalance(nfts); + emit GotNFTIDs(nfts); } } ``` diff --git a/docs/build/isc/v1.3/docs/how-tos/core-contracts/basics/get-balance.md b/docs/build/isc/v1.3/docs/how-tos/core-contracts/basics/get-balance.md index aa25f559ac0..8ab06fafb02 100644 --- a/docs/build/isc/v1.3/docs/how-tos/core-contracts/basics/get-balance.md +++ b/docs/build/isc/v1.3/docs/how-tos/core-contracts/basics/get-balance.md @@ -67,7 +67,7 @@ contract GetBalance { emit GotNativeTokenBalance(nativeTokens); uint256 nfts = ISC.accounts.getL2NFTAmount(agentID); - emit GotNativeTokenBalance(nfts); + emit GotNFTIDs(nfts); } } ```