fix bifrost

This commit is contained in:
g1nt0ki
2024-01-25 16:01:53 +01:00
parent 4d86b8fc96
commit bd2940708b
2 changed files with 3 additions and 2 deletions

View File

@@ -58,8 +58,8 @@ module.exports = {
manta: {
tvl: async () => {
const { bifrost } = getExports("bifrost-staking", ["bifrost"]);
const { manta } = await bifrost.tvl();
return { manta };
const tvl = await bifrost.tvl();
return { 'manta-network': tvl['manta-network'] };
},
},
};

View File

@@ -19,6 +19,7 @@ function handleError(error){
}
function getStackMessage(stack) {
if (!stack) return []
if (/ at (checkExportKeys)/.test(stack)) return []
const isNodeMolule = m => /node_modules/.test(m)