use latest Team Crypto methods

pull/1/head
ansuz 5 years ago
parent 5fe1627488
commit 922d7a247b

@ -266,22 +266,16 @@ nThen(function (w) {
ed: sharedConfig.teamEdKeys,
};
var rosterSeed = Crypto.Team.createSeed();
var rosterKeys = Crypto.Team.deriveMemberKeys(rosterSeed, oscar.curveKeys);
Roster.create({
network: oscar.network,
channel: sharedConfig.rosterChannel,
channel: rosterKeys.channel, //sharedConfig.rosterChannel,
owners: [
oscar.edKeys.edPublic
],
keys: {
myCurvePublic: oscar.curveKeys.curvePublic,
myCurvePrivate: oscar.curveKeys.curvePrivate,
teamCurvePublic: team.curve.curvePublic,
teamCurvePrivate: team.curve.curvePrivate,
teamEdPrivate: team.ed.edPrivate,
teamEdPublic: team.ed.edPublic,
},
keys: rosterKeys,
anon_rpc: oscar.anonRpc,
lastKnownHash: void 0,
}, w(function (err, roster) {

Loading…
Cancel
Save