Use the definite txo.amount (not EVERYTHING) when calling save_supports().

This commit is contained in:
Jonathan Moody 2022-06-09 12:36:06 -04:00
parent 8b2c284d7a
commit 665c12b9b5

View file

@ -4362,7 +4362,7 @@ class Daemon(metaclass=JSONRPCServerType):
'nout': tx.position, 'nout': tx.position,
'address': claim_address, 'address': claim_address,
'claim_id': claim_id, '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')) self.component_manager.loop.create_task(self.analytics_manager.send_claim_action('new_support'))
else: else: