diff --git a/src/BitcoinPHP/BitcoinECDSA/BitcoinECDSA.php b/src/BitcoinPHP/BitcoinECDSA/BitcoinECDSA.php index f60cdfa..f85a99a 100755 --- a/src/BitcoinPHP/BitcoinECDSA/BitcoinECDSA.php +++ b/src/BitcoinPHP/BitcoinECDSA/BitcoinECDSA.php @@ -260,7 +260,7 @@ public function getWif() $secretKey = '80' . $k; $secretKey .= substr($this->hash256(hex2bin($secretKey)), 0, 8); - return strrev($this->base58_encode($secretKey)); + return $this->base58_encode($secretKey); } /***