Signature(r, s) should work
This commit is contained in:
parent
a768755764
commit
caf6c87419
|
@ -4,7 +4,7 @@ var Pubkey = require('./pubkey');
|
||||||
|
|
||||||
var Signature = function Signature(r, s) {
|
var Signature = function Signature(r, s) {
|
||||||
if (!(this instanceof Signature))
|
if (!(this instanceof Signature))
|
||||||
return new Signature(obj);
|
return new Signature(r, s);
|
||||||
if (r instanceof BN) {
|
if (r instanceof BN) {
|
||||||
this.set({
|
this.set({
|
||||||
r: r,
|
r: r,
|
||||||
|
|
Loading…
Reference in New Issue