Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
nickysemenza authored and benjamincburns committed Sep 27, 2018
1 parent abb0a7e commit 0c16bcb
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions lib/utils/txhelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ module.exports = {
}
}
var resultJSON = {
hash: to.hex(tx.hash()),
nonce: to.hex(tx.nonce),
blockHash: to.hex(block.hash()),
blockNumber: to.hex(block.header.number),
transactionIndex: to.hex(transactionIndex),
from: to.hex(tx.from),
to: to.hex(tx.to),
value: to.hex(tx.value),
gas: to.hex(tx.gasLimit),
gasPrice: to.hex(tx.gasPrice),
input: to.hex(tx.data),
hash: to.rpcDataHexString(tx.hash()),
nonce: to.rpcDataHexString(tx.nonce),
blockHash: to.rpcDataHexString(block.hash()),
blockNumber: to.rpcQuantityHexString(block.header.number),
transactionIndex: to.rpcQuantityHexString(transactionIndex),
from: to.rpcDataHexString(tx.from),
to: to.rpcDataHexString(tx.to),
value: to.rpcQuantityHexString(tx.value),
gas: to.rpcQuantityHexString(tx.gasLimit),
gasPrice: to.rpcQuantityHexString(tx.gasPrice),
input: to.rpcDataHexString(tx.data),
};

if (tx.v && tx.v.length > 0 &&
Expand Down

0 comments on commit 0c16bcb

Please sign in to comment.