Merge pull request #1001 from headzoo/bitcoin_class_fix
Calling $this from static context
This commit is contained in:
commit
e4d97b9555
@ -211,7 +211,7 @@ class Bitcoin {
|
||||
* @access public
|
||||
*/
|
||||
public static function pubKeyToAddress($pubkey) {
|
||||
return self::hash160ToAddress($this->hash160($pubkey));
|
||||
return self::hash160ToAddress(self::hash160($pubkey));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user