mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 09:53:48 +00:00
core/types: change Authority method to pointer receiver
This commit is contained in:
parent
1506e06dca
commit
09d1a1632b
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ func (a *Authorization) withSignature(sig []byte) Authorization {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Authority recovers the the authorizing account of an authorization.
|
// Authority recovers the the authorizing account of an authorization.
|
||||||
func (a Authorization) Authority() (common.Address, error) {
|
func (a *Authorization) Authority() (common.Address, error) {
|
||||||
sighash := prefixedRlpHash(
|
sighash := prefixedRlpHash(
|
||||||
0x05,
|
0x05,
|
||||||
[]interface{}{
|
[]interface{}{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue