mirror of
git://holbrook.no/eth-monitor.git
synced 2024-11-21 20:06: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
|
- 0.8.5
|
||||||
* Instantiate constructor for chain interface superclass
|
* Instantiate constructor for chain interface superclass
|
||||||
* Remove unused settings transform method for sync interface
|
* Remove unused settings transform method for sync interface
|
||||||
|
@ -85,6 +85,8 @@ class RuleSimple:
|
|||||||
if rule != None and is_same_address(sender, rule):
|
if rule != None and is_same_address(sender, rule):
|
||||||
logg.debug('tx {} rule {} match in SENDER {}'.format(tx_hash, self.description, sender))
|
logg.debug('tx {} rule {} match in SENDER {}'.format(tx_hash, self.description, sender))
|
||||||
return True
|
return True
|
||||||
|
if recipient == None:
|
||||||
|
return False
|
||||||
for rule in self.inputs:
|
for rule in self.inputs:
|
||||||
if rule != None and is_same_address(recipient, rule):
|
if rule != None and is_same_address(recipient, rule):
|
||||||
logg.debug('tx {} rule {} match in RECIPIENT {}'.format(tx_hash, self.description, recipient))
|
logg.debug('tx {} rule {} match in RECIPIENT {}'.format(tx_hash, self.description, recipient))
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = eth-monitor
|
name = eth-monitor
|
||||||
version = 0.8.5
|
version = 0.8.6
|
||||||
description = Monitor and cache transactions using match filters
|
description = Monitor and cache transactions using match filters
|
||||||
author = Louis Holbrook
|
author = Louis Holbrook
|
||||||
author_email = dev@holbrook.no
|
author_email = dev@holbrook.no
|
||||||
|
Loading…
Reference in New Issue
Block a user