mirror of
git://holbrook.no/eth-monitor.git
synced 2024-11-05 23:16:46 +01:00
Handle crash on conrtact creation when recipient filter is active
This commit is contained in:
parent
10e16dcb00
commit
e176874c30
@ -1,3 +1,5 @@
|
||||
- 0.8.6
|
||||
* Handle crash on conrtact creation when recipient filter is active
|
||||
- 0.8.5
|
||||
* Instantiate constructor for chain interface superclass
|
||||
* Remove unused settings transform method for sync interface
|
||||
|
@ -85,6 +85,8 @@ class RuleSimple:
|
||||
if rule != None and is_same_address(sender, rule):
|
||||
logg.debug('tx {} rule {} match in SENDER {}'.format(tx_hash, self.description, sender))
|
||||
return True
|
||||
if recipient == None:
|
||||
return False
|
||||
for rule in self.inputs:
|
||||
if rule != None and is_same_address(recipient, rule):
|
||||
logg.debug('tx {} rule {} match in RECIPIENT {}'.format(tx_hash, self.description, recipient))
|
||||
|
Loading…
Reference in New Issue
Block a user