add block uncle and block counts
This commit is contained in:
parent
b3b95c5f98
commit
c52250e203
|
@ -109,7 +109,7 @@ var getBlock = new Method({
|
|||
var getUncle = new Method({
|
||||
name: 'getUncle',
|
||||
call: uncleCall,
|
||||
params: 2,
|
||||
params: 3,
|
||||
inputFormatter: [utils.toHex, utils.toHex, function (val) { return !!val; }],
|
||||
outputFormatter: formatters.outputBlockFormatter,
|
||||
|
||||
|
@ -121,7 +121,7 @@ var getCompilers = new Method({
|
|||
params: 0
|
||||
});
|
||||
|
||||
var getBlockTransactounCount = new Method({
|
||||
var getBlockTransactionCount = new Method({
|
||||
name: 'getBlockTransactionCount',
|
||||
call: getBlockTransactionCountCall,
|
||||
params: 1,
|
||||
|
@ -205,7 +205,7 @@ var methods = [
|
|||
getBlock,
|
||||
getUncle,
|
||||
getCompilers,
|
||||
getBlockTransactounCount,
|
||||
getBlockTransactionCount,
|
||||
getBlockUncleCount,
|
||||
getTransaction,
|
||||
getTransactionFromBlock,
|
||||
|
|
Loading…
Reference in New Issue