Obtain "amount" from new_txo.amount when calling save_supports().

This commit is contained in:
Jonathan Moody 2022-07-20 11:44:34 -04:00 committed by Lex Berezhny
parent 956b52a2c1
commit 9654d4f003

View file

@ -4349,7 +4349,7 @@ class Daemon(metaclass=JSONRPCServerType):
'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: