1
0
mirror of https://github.com/danog/tgseclib.git synced 2024-11-27 04:34:45 +01:00

BigInteger: toBits(true) wasn't working correctly

This commit is contained in:
terrafrost 2019-04-08 08:02:48 -05:00
parent 0e874f1d21
commit 114dc17f5b

View File

@ -232,7 +232,7 @@ class BigInteger implements \Serializable
*/
function toBits($twos_compliment = false)
{
return $this->value->toBits();
return $this->value->toBits($twos_compliment);
}
/**