-modify mock currency spec
This commit is contained in:
parent
47fdfc64a2
commit
5d1e0ae008
@ -1445,6 +1445,7 @@ async function dispatchRequestInternal<Op extends WalletApiOperation>(
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
return kudosResp;
|
||||||
} else if (req.scope.currency === "TESTKUDOS") {
|
} else if (req.scope.currency === "TESTKUDOS") {
|
||||||
const testkudosResp: GetCurrencySpecificationResponse = {
|
const testkudosResp: GetCurrencySpecificationResponse = {
|
||||||
currencySpecification: {
|
currencySpecification: {
|
||||||
@ -1453,7 +1454,7 @@ async function dispatchRequestInternal<Op extends WalletApiOperation>(
|
|||||||
fractional_input_digits: 0,
|
fractional_input_digits: 0,
|
||||||
fractional_normal_digits: 0,
|
fractional_normal_digits: 0,
|
||||||
fractional_trailing_zero_digits: 0,
|
fractional_trailing_zero_digits: 0,
|
||||||
is_currency_name_leading: true,
|
is_currency_name_leading: false,
|
||||||
alt_unit_names: {},
|
alt_unit_names: {},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user