Skip to content

Commit

Permalink
Merge pull request #30 from rgex/master
Browse files Browse the repository at this point in the history
consistency fix
  • Loading branch information
rgex committed Dec 14, 2015
2 parents 77e6c0c + 018da94 commit a9ba6fa
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 @@ -1026,7 +1026,7 @@ public function getPubKeyWithRS($flag, $R, $S, $hash)
$isCompressed = false;

if ($flag < 27 || $flag >= 35)
return false;
return null;

if($flag >= 31) //if address is compressed
{
Expand Down

0 comments on commit a9ba6fa

Please sign in to comment.