Skip to content

Commit

Permalink
add pending and latest to getBlockTransactionCount and getUncle
Browse files Browse the repository at this point in the history
  • Loading branch information
frozeman committed Apr 23, 2015
1 parent 3897bc2 commit dfbad66
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 12 deletions.
4 changes: 2 additions & 2 deletions dist/web3-light.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/web3-light.js.map

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions dist/web3-light.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/web3.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/web3.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/web3.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions lib/web3/eth.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ var getUncle = new Method({
name: 'getUncle',
call: uncleCall,
params: 2,
inputFormatter: [utils.toHex, utils.toHex],
inputFormatter: [formatters.inputBlockNumberFormatter, utils.toHex],
outputFormatter: formatters.outputBlockFormatter,

});
Expand Down Expand Up @@ -148,7 +148,7 @@ var getTransactionFromBlock = new Method({
name: 'getTransactionFromBlock',
call: transactionFromBlockCall,
params: 2,
inputFormatter: [utils.toHex, utils.toHex],
inputFormatter: [formatters.inputBlockNumberFormatter, utils.toHex],
outputFormatter: formatters.outputTransactionFormatter
});

Expand Down

0 comments on commit dfbad66

Please sign in to comment.