fix bytes error

This commit is contained in:
Jack Robison 2019-02-01 22:20:11 -05:00
parent c3b0151943
commit 478f79353a
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -351,7 +351,7 @@ class StreamManager:
fee_amount = round(exchange_rate_manager.convert_currency( fee_amount = round(exchange_rate_manager.convert_currency(
claim.source_fee.currency, "LBC", claim.source_fee.amount claim.source_fee.currency, "LBC", claim.source_fee.amount
), 5) ), 5)
fee_address = claim.source_fee.address fee_address = claim.source_fee.address.decode()
outpoint = f"{resolved['txid']}:{resolved['nout']}" outpoint = f"{resolved['txid']}:{resolved['nout']}"
existing = self.get_filtered_streams(outpoint=outpoint) existing = self.get_filtered_streams(outpoint=outpoint)