Skip to content

Commit

Permalink
fix(tx-builder): fix contract method filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
CoboMoon committed Aug 28, 2024
1 parent 4236a28 commit 24b523b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/tx-builder/src/lib/interfaceRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ class InterfaceRepository {
return false
}

if (e?.type?.toLowerCase() === 'error') {
return false
}

return !e.constant
})
.filter((m: any) => m.type !== 'constructor')
Expand Down

0 comments on commit 24b523b

Please sign in to comment.