Skip to content

Commit

Permalink
Obtain "amount" from new_txo.amount when calling save_supports().
Browse files Browse the repository at this point in the history
  • Loading branch information
moodyjon authored and eukreign committed Aug 1, 2022
1 parent 956b52a commit 9654d4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lbry/extras/daemon/daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -4349,7 +4349,7 @@ async def jsonrpc_support_create(
'nout': tx.position,
'address': claim_address,
'claim_id': claim_id,
'amount': dewies_to_lbc(amount)
'amount': dewies_to_lbc(new_txo.amount)
}]})
self.component_manager.loop.create_task(self.analytics_manager.send_claim_action('new_support'))
else:
Expand Down

0 comments on commit 9654d4f

Please sign in to comment.