consensus/clique: implement getSigner API method (#22987)
* clique: implement getSignerForBlock * consensus/clique: use blockNrOrHash in getSignerForBlock * consensus/clique: implement getSigner * consensus/clique: fixed rlp decoding * consensus/clique: use Author instead of getSigner * consensus/clique: nit nit nit * consensus/clique: nit nit nit
This commit is contained in:
committed by
GitHub
parent
c49e065fea
commit
b9e6e43722
@ -108,6 +108,12 @@ web3._extend({
|
||||
call: 'clique_status',
|
||||
params: 0
|
||||
}),
|
||||
new web3._extend.Method({
|
||||
name: 'getSigner',
|
||||
call: 'clique_getSigner',
|
||||
params: 1,
|
||||
inputFormatter: [null]
|
||||
}),
|
||||
],
|
||||
properties: [
|
||||
new web3._extend.Property({
|
||||
|
Reference in New Issue
Block a user