File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import {
11
11
decodeTXHeadersSchema ,
12
12
type DecodeTXHeaders ,
13
13
} from "./tx.schema" ;
14
- import { fetchEventsFromLogs , fetchTxFromHash } from "./tx.service" ;
14
+ import { decodeLogsfromTx , fetchTxFromHash } from "./tx.service" ;
15
15
import { type Chain } from "@covalenthq/client-sdk" ;
16
16
17
17
export const txRouter = Router ( ) ;
@@ -39,7 +39,7 @@ const handleDecode = async (
39
39
safe_details,
40
40
...metadata
41
41
} = tx ;
42
- const events = await fetchEventsFromLogs (
42
+ const events = await decodeLogsfromTx (
43
43
network as Chain ,
44
44
tx ,
45
45
covalentApiKey
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ export const fetchTxFromHash = async (
36
36
}
37
37
} ;
38
38
39
- export const fetchEventsFromLogs = async (
39
+ export const decodeLogsfromTx = async (
40
40
network : Chain ,
41
41
tx : Transaction ,
42
42
covalentApiKey : string
You can’t perform that action at this time.
0 commit comments