remove d2f from storage function call

This commit is contained in:
Lex Berezhny 2019-01-10 13:06:42 -05:00
parent 712b19605e
commit a38643cca6

View file

@ -70,8 +70,8 @@ class Publisher:
self.account, name, bid, claim_dict, self.certificate, holding_address
)
if stream_hash: # the stream_hash returned from the db will be None if this isn't a stream we have
await d2f(self.storage.save_content_claim(
await self.storage.save_content_claim(
stream_hash, tx.outputs[0].id
))
)
self.lbry_file = [f for f in self.lbry_file_manager.lbry_files if f.stream_hash == stream_hash][0]
return tx