Skip to content

Commit

Permalink
fix: gas_used
Browse files Browse the repository at this point in the history
  • Loading branch information
mfer725 committed Jan 10, 2023
1 parent f646510 commit f15887c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/ethereum/services/geth-to-mysql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export class EthereumGethToMysqlService {
to: transaction.to,
value: transaction.value,
input: transaction.input,
gas_used: transaction.gas,
gas_used: transactionReceipt.gasUsed,
gas_price: transaction.gasPrice,
max_fee_per_gas: transaction.maxFeePerGas,
max_priority_fee_per_gas: transaction.maxPriorityFeePerGas,
Expand Down

0 comments on commit f15887c

Please sign in to comment.