[FIX] Calling $this from static context

The static function pubKeyToAddress() was calling $this->hash160(). Changed to self::hash160().
This commit is contained in:
headz 2013-12-16 23:51:50 -05:00
parent 8275e06fcc
commit cb4d69f092

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));
} }
/** /**