mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-24 14:15:49 +00:00
[FEATURE] register blob
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
var crypt = require('./crypt'),
|
||||
message = require('./message'),
|
||||
request = require('superagent'),
|
||||
extend = require("extend");
|
||||
|
||||
@@ -522,6 +521,8 @@ module.exports.create = function (options, fn)
|
||||
created : (new Date()).toJSON()
|
||||
};
|
||||
|
||||
console.log(options.masterkey, crypt.getAddress(options.masterkey));
|
||||
|
||||
blob.encrypted_secret = blob.encryptSecret(options.unlock, options.masterkey);
|
||||
|
||||
// Migration
|
||||
|
||||
Reference in New Issue
Block a user