eth, internal/web3ext: add optional first and last arguments to the admin_exportChain RPC. (#20107)

This commit is contained in:
Ryan Schneider
2019-12-17 03:10:15 -08:00
committed by Guillaume Ballet
parent 275cd4988d
commit c4b7fdd27e
2 changed files with 17 additions and 5 deletions

View File

@ -172,8 +172,8 @@ web3._extend({
new web3._extend.Method({
name: 'exportChain',
call: 'admin_exportChain',
params: 1,
inputFormatter: [null]
params: 3,
inputFormatter: [null, null, null]
}),
new web3._extend.Method({
name: 'importChain',