sender no longer needs file nonce

This commit is contained in:
Danny Coates 2018-01-31 11:12:36 -08:00
parent 545da556d2
commit 4fb4041f13
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
5 changed files with 20 additions and 28 deletions

View file

@ -98,7 +98,7 @@ export default function(state, emitter) {
await delay(200);
try {
metrics.startedUpload({ size, type });
const ownedFile = await sender.upload(state.storage);
const ownedFile = await sender.upload();
state.storage.totalUploads += 1;
metrics.completedUpload(ownedFile);