-
Notifications
You must be signed in to change notification settings - Fork 204
Open
Labels
apiIssues related to Wallet APIIssues related to Wallet APIassetsconfidential assetsconfidential assets
Description
Bug title
Express the problem in a single concise sentence
Bug description
A clear and concise description of what the bug is.
To Reproduce
function getAssetList() {
return new Promise((resolve, reject) => {
var params = {
"refresh": true,
"height": 3170671
};
// Call the API
wallet_api.callApi('assets_list', params, (error, result, full) => {
if (error) {
console.log("Error invoking contract:", error); // Look here for example. The asset info is there, but an error is returned.
reject(error); // Call reject with the error
return;
}
console.log(result);
// Resolve the Promise with the result
resolve(result);
});
});
}
Current behaviour
API returns an error, but also the wanted data about assets.
Error: {error: "no valid api call result", answer: {assets: Array(168), id: " call-2", jsonrpc: "2.0"}
Expected behaviour
returns asset list only
Platform and build
- Desktop wallet 7.5
reported by @iDoHaveAtgHandleNow on TG
Metadata
Metadata
Assignees
Labels
apiIssues related to Wallet APIIssues related to Wallet APIassetsconfidential assetsconfidential assets