Skip to content

Commit

Permalink
fix(tx-builder): fix contract method filtering (#816)
Browse files Browse the repository at this point in the history
  • Loading branch information
lmy375 authored Aug 28, 2024
1 parent 4236a28 commit 9cbefc5
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 9cbefc5

Please sign in to comment.