File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ async function totalObyteTvl(timestamp) {
74
74
75
75
const totalTVLByEVMNetwork = async ( api ) => {
76
76
const bridges = await getConfig ( 'counterstake/bridges' , 'https://counterstake.org/api/bridges' ) . then ( ( data ) => data . data ) ;
77
- const pooledAssistants = await getConfig ( 'counterstake/poolStakes' , 'https://counterstake.org/api/pooled_assistants' ) . then ( ( data ) => data . data ) ;
77
+ const pooledAssistants = await getConfig ( 'counterstake/poolStakes' , 'https://counterstake.org/api/pooled_assistants' ) . then ( ( data ) => data . data . assistants ) ;
78
78
79
79
const bridgeAasByChain = [ ] ;
80
80
const tokensAndOwners = [ ]
@@ -89,6 +89,7 @@ const totalTVLByEVMNetwork = async (api) => {
89
89
}
90
90
} ) ;
91
91
92
+
92
93
pooledAssistants . filter ( ( { network } ) => network . toLowerCase ( ) === api . chain ) . forEach ( ( { assistant_aa, side, bridge_id } ) => {
93
94
const bridge = bridges . find ( ( bridge ) => bridge . bridge_id === bridge_id ) ;
94
95
You can’t perform that action at this time.
0 commit comments