forked from LBRYCommunity/lbry-sdk
set content_fee attribute
This commit is contained in:
parent
bc060f1378
commit
a212cf6ba4
1 changed files with 2 additions and 1 deletions
|
@ -379,9 +379,10 @@ class StreamManager:
|
||||||
if to_replace: # delete old stream now that the replacement has started downloading
|
if to_replace: # delete old stream now that the replacement has started downloading
|
||||||
await self.delete_stream(to_replace)
|
await self.delete_stream(to_replace)
|
||||||
elif fee_address:
|
elif fee_address:
|
||||||
content_fee = await self.wallet.send_amount_to_address(
|
stream.content_fee = await self.wallet.send_amount_to_address(
|
||||||
lbc_to_dewies(str(fee_amount)), fee_address.encode('latin1')
|
lbc_to_dewies(str(fee_amount)), fee_address.encode('latin1')
|
||||||
)
|
)
|
||||||
|
|
||||||
log.info("paid fee of %s for %s", fee_amount, uri)
|
log.info("paid fee of %s for %s", fee_amount, uri)
|
||||||
|
|
||||||
self.streams[stream.sd_hash] = stream
|
self.streams[stream.sd_hash] = stream
|
||||||
|
|
Loading…
Add table
Reference in a new issue