mirror of
https://github.com/danog/fast-srp.git
synced 2024-11-26 20:04:49 +01:00
Fix bnGreaterOrEqual in the bignumber library
This commit is contained in:
parent
e07f5bdd6c
commit
98e7ed7233
@ -330,7 +330,7 @@ function bnGreater(a) {
|
||||
}
|
||||
|
||||
function bnGreaterOrEqual(a) {
|
||||
return (this.compareTo(a) > 0) ? true : false;
|
||||
return (this.compareTo(a) >= 0) ? true : false;
|
||||
}
|
||||
|
||||
function bnLesser(a) {
|
||||
|
Loading…
Reference in New Issue
Block a user