File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ contract HtsSystemContractJson is HtsSystemContract {
218
218
tokenInfo.token = _getHederaToken (json);
219
219
tokenInfo.fixedFees = _getFixedFees (json);
220
220
tokenInfo.fractionalFees = _getFractionalFees (json);
221
- tokenInfo.royaltyFees = _getRoyaltyFees (_sanitizeFeesStructure (json));
221
+ tokenInfo.royaltyFees = _getRoyaltyFees (_normalizeFallbackFee (json));
222
222
tokenInfo.ledgerId = _getLedgerId ();
223
223
tokenInfo.defaultKycStatus = false ; // not available in the fetched JSON from mirror node
224
224
tokenInfo.totalSupply = int64 (vm.parseInt (vm.parseJsonString (json, ".total_supply " )));
@@ -229,7 +229,7 @@ contract HtsSystemContractJson is HtsSystemContract {
229
229
230
230
// In order to properly decode the bytes returned by the parseJson into the Solidity Structure, the full,
231
231
// correct structure has to be provided in the input json, with all of the corresponding fields.
232
- function _sanitizeFeesStructure (string memory json ) private pure returns (string memory ) {
232
+ function _normalizeFallbackFee (string memory json ) private pure returns (string memory ) {
233
233
return vm.replace (
234
234
json,
235
235
"\" fallback_fee \" :null} " ,
You can’t perform that action at this time.
0 commit comments