[FEATURE] register blob

This commit is contained in:
Matthew Fettig
2014-05-20 15:10:16 -07:00
parent 5ba7c31e4c
commit beffd0864a
2 changed files with 58 additions and 6 deletions

View File

@@ -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