mirror of
https://github.com/node-ebics/node-ebics-client.git
synced 2024-12-23 12:51:48 +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