Skip to content

Commit 89e7b4f

Browse files
Merge pull request #42 from blocknative/fix/abi-parsing
[0.2.7]: Fixes issue where abi wasn't getting parsed
2 parents d56d1ac + 0162300 commit 89e7b4f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

blocknative/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.2.6'
1+
__version__ = '0.2.7'

blocknative/stream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ async def txn_handler(txn)
133133

134134
# Add this subscription to the registry
135135
self._subscription_registry[address] = Subscription(
136-
callback, {'filters': filters, 'abi': abi}, SubscriptionType.ADDRESS
136+
callback, {'filters': filters, 'abi': json.loads(abi)}, SubscriptionType.ADDRESS
137137
)
138138

139139
# Only send the message if we are already connected. The connection handler

0 commit comments

Comments
 (0)