Skip to content

Commit

Permalink
Update report.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
kristinaNikolaevaa committed Aug 13, 2024
1 parent f0e0add commit 438588d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions helpers/report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ class Report {
}

addAction(name: string, usedGas: number, gasPrice: number | BigNumber, tx: string): void {
if (gasPrice instanceof BigNumber) {
gasPrice = gasPrice.toNumber();
}
this.actions.push({
name: name,
usedGas: usedGas,
Expand Down

0 comments on commit 438588d

Please sign in to comment.