Normalize receipt in Tx apply
This commit is contained in:
		
							parent
							
								
									b0779aa9f3
								
							
						
					
					
						commit
						3e3a351c2d
					
				| @ -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.  | ||||
| 
 | ||||
|  | ||||
| @ -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) | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user