Normalize receipt in Tx apply

This commit is contained in:
nolash 2021-05-27 14:25:48 +02:00
parent b0779aa9f3
commit 3e3a351c2d
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
3 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,7 @@
Chainlib is a prototype attempt at writing a generalized code library structure in python3 for concepts that are valid across blockchains, either within the same chain technology or across them. If useful and/or successful, it should be considered ported to a more performant language (rust?).
It is primarily aimed at console-environment development.
It is primarily aimed at (possibly threaded) console-environment development.
It aims to give fine-grained control and transparency to all operations and transformations.

View File

@ -354,6 +354,7 @@ class Tx:
def apply_receipt(self, rcpt):
rcpt = self.src_normalize(rcpt)
logg.debug('rcpt {}'.format(rcpt))
try:
status_number = int(rcpt['status'], 16)

View File

@ -1,6 +1,6 @@
[metadata]
name = chainlib
version = 0.0.3rc1
version = 0.0.3rc2
description = Generic blockchain access library and tooling
author = Louis Holbrook
author_email = dev@holbrook.no