Skip to content

Commit

Permalink
Merge pull request #33 from dragu/patch-1
Browse files Browse the repository at this point in the history
Electrum/mycelium key generation fix
  • Loading branch information
rgex authored Apr 11, 2017
2 parents da075be + 40e7815 commit a45c20e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BitcoinPHP/BitcoinECDSA/BitcoinECDSA.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/***
Expand Down

0 comments on commit a45c20e

Please sign in to comment.