Merge pull request #1001 from headzoo/bitcoin_class_fix

Calling $this from static context
This commit is contained in:
Sebastian Grewe 2013-12-17 00:02:17 -08:00
commit e4d97b9555

View File

@ -211,7 +211,7 @@ class Bitcoin {
* @access public * @access public
*/ */
public static function pubKeyToAddress($pubkey) { public static function pubKeyToAddress($pubkey) {
return self::hash160ToAddress($this->hash160($pubkey)); return self::hash160ToAddress(self::hash160($pubkey));
} }
/** /**