core/types: change Authority method to pointer receiver

This commit is contained in:
Felix Lange 2024-12-02 12:10:00 +01:00 committed by lightclient
parent 1506e06dca
commit 09d1a1632b
No known key found for this signature in database
GPG key ID: 75C916AFEE20183E

View file

@ -118,7 +118,7 @@ func (a *Authorization) withSignature(sig []byte) 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(
0x05,
[]interface{}{