mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
internal/jsre: format receipt.{blobGasPrice,blobGasUsed} to int
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
parent
5d5b384efd
commit
9e6e853fda
1 changed files with 6 additions and 0 deletions
|
|
@ -3810,6 +3810,12 @@ var outputTransactionReceiptFormatter = function (receipt){
|
|||
if(receipt.effectiveGasPrice !== undefined) {
|
||||
receipt.effectiveGasPrice = utils.toBigNumber(receipt.effectiveGasPrice);
|
||||
}
|
||||
if(receipt.blobGasPrice !== undefined) {
|
||||
receipt.blobGasPrice = utils.toBigNumber(receipt.blobGasPrice);
|
||||
}
|
||||
if(receipt.blobGasUsed !== undefined) {
|
||||
receipt.blobGasUsed = utils.toBigNumber(receipt.blobGasUsed);
|
||||
}
|
||||
if(utils.isArray(receipt.logs)) {
|
||||
receipt.logs = receipt.logs.map(function(log){
|
||||
return outputLogFormatter(log);
|
||||
|
|
|
|||
Loading…
Reference in a new issue