|
@ -247,9 +247,10 @@ PrivateKey._transformJSON = function(json) { |
|
|
json = JSON.parse(json); |
|
|
json = JSON.parse(json); |
|
|
} |
|
|
} |
|
|
var bn = new BN(json.bn, 'hex'); |
|
|
var bn = new BN(json.bn, 'hex'); |
|
|
|
|
|
var network = Networks.get(json.network); |
|
|
return { |
|
|
return { |
|
|
bn: bn, |
|
|
bn: bn, |
|
|
network: json.network, |
|
|
network: network, |
|
|
compressed: json.compressed |
|
|
compressed: json.compressed |
|
|
}; |
|
|
}; |
|
|
}; |
|
|
}; |
|
|