Added stamp value property on inbound
This commit is contained in:
parent
40eb014c91
commit
6d83b019e1
3 changed files with 33 additions and 7 deletions
|
|
@ -1282,8 +1282,10 @@ class LXMRouter:
|
|||
destination_tickets = self.get_inbound_tickets(message.source_hash)
|
||||
if message.validate_stamp(required_stamp_cost, tickets=destination_tickets):
|
||||
message.stamp_valid = True
|
||||
message.stamp_checked = True
|
||||
else:
|
||||
message.stamp_valid = False
|
||||
message.stamp_checked = True
|
||||
|
||||
if not message.stamp_valid:
|
||||
if self._enforce_stamps:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue