mirror of
https://github.com/alexgo-io/DefiLlama-Adapters.git
synced 2026-01-12 16:53:02 +08:00
fix bifrost
This commit is contained in:
@@ -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'] };
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user