Skip to content

Commit

Permalink
common: check for bigint instead of undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrocheleau committed Aug 30, 2022
1 parent 1c8538e commit 70bdc5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/common/src/common.ts
Original file line number Diff line number Diff line change
@@ -408,7 +408,7 @@ export class Common extends EventEmitter {
const hfEIPs = hfChanges[1]['eips']
for (const eip of hfEIPs) {
const valueEIP = this.paramByEIP(topic, name, eip)
value = valueEIP !== undefined ? valueEIP : value
value = typeof valueEIP === 'bigint' ? valueEIP : value
}
// Parameter-inlining HF file (e.g. istanbul.json)
} else {

0 comments on commit 70bdc5a

Please sign in to comment.