diff --git a/scripts/tests/test-rpc.js b/scripts/tests/test-rpc.js index 61d642a6e..113165b05 100644 --- a/scripts/tests/test-rpc.js +++ b/scripts/tests/test-rpc.js @@ -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) {