Skip to content

Commit

Permalink
fix: parse publicConfig V118
Browse files Browse the repository at this point in the history
  • Loading branch information
sameh-farouk committed May 19, 2024
1 parent 4b4f142 commit fabd1ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mappings/nodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -677,8 +677,8 @@ function getNodePublicConfig(ctx: Ctx, node: TfgridModuleNodeStoredEvent): NodeP
domain: validateString(ctx, nodeEvent.publicConfig?.domain.toString())
}
}
} else if (node.isV105) {
nodeEvent = node.asV105
} else if (node.isV105 || node.isV118) {
nodeEvent = node.isV105? node.asV105:node.asV118
if (nodeEvent.publicConfig) {
let domain = ''
if (nodeEvent.publicConfig.domain) {
Expand Down

0 comments on commit fabd1ad

Please sign in to comment.