Commit 3aab3958 authored by Benoit Lavenier's avatar Benoit Lavenier

[fix] Fix bug when generated WIF/EWIF key files - fix #875

parent e78a1ac4
Pipeline #8047 failed with stages
in 7 minutes and 18 seconds
......@@ -114,13 +114,7 @@ angular.module('cesium.crypto.services', ['cesium.utils.services'])
};
CryptoAbstractService.prototype.seed_from_signSk = function(signSk) {
var seed = new Uint8Array(that.constants.SEED_LENGTH);
for (var i = 0; i < seed.length; i++) seed[i] = signSk[i];
return seed;
};
CryptoAbstractService.prototype.seed_from_signSk = function(signSk) {
var seed = new Uint8Array(that.constants.SEED_LENGTH);
var seed = new Uint8Array(this.constants.SEED_LENGTH);
for (var i = 0; i < seed.length; i++) seed[i] = signSk[i];
return seed;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment