mirror of
https://github.com/node-ebics/node-ebics-client.git
synced 2024-11-22 06:02:09 +00:00
fix number generarion
This commit is contained in:
parent
bb8d1cfaa0
commit
429e807994
@ -4,7 +4,8 @@ const { jsbn: { BigInteger } } = require('node-forge');
|
||||
|
||||
class BigNumber {
|
||||
constructor(value = '') {
|
||||
this._n = new BigInteger(value);
|
||||
this._n = new BigInteger(null);
|
||||
this._n.fromInt(value);
|
||||
}
|
||||
|
||||
toBEBuffer(length = undefined) {
|
||||
|
Loading…
Reference in New Issue
Block a user