Made signDeviceList() throw when called from non-primary devices.
Details
Details
- Unit tests - needed to update them because otherwise mocked primaryContentSigningKey was different than primary device ID from device lists and some tests failed on the throw added in this diff - this proofs that it actually works.
- Tested manually
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
lib/shared/device-list-utils.js | ||
---|---|---|
145 | Will this error get caught somewhere? I'm worried about the app crashing here |