fixed transaction dialog import and removed unused payment_identifier
This commit is contained in:
		
							parent
							
								
									5a2143ce03
								
							
						
					
					
						commit
						bfb56d487a
					
				
							
								
								
									
										3
									
								
								qt.py
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								qt.py
									
									
									
									
									
								
							| @ -286,6 +286,7 @@ from electrum.plugin import ( | |||||||
|         hook, |         hook, | ||||||
|         run_hook) |         run_hook) | ||||||
| from electrum.transaction import ( | from electrum.transaction import ( | ||||||
|  |         SerializationError, | ||||||
|         Transaction, |         Transaction, | ||||||
|         tx_from_any) |         tx_from_any) | ||||||
| from electrum.util import ( | from electrum.util import ( | ||||||
| @ -844,7 +845,7 @@ class BalWindow(Logger): | |||||||
|                 parent=parent, |                 parent=parent, | ||||||
|                 prompt_if_unsaved=prompt_if_unsaved, |                 prompt_if_unsaved=prompt_if_unsaved, | ||||||
|                 external_keypairs=external_keypairs, |                 external_keypairs=external_keypairs, | ||||||
|                 payment_identifier=payment_identifier, |                 #payment_identifier=payment_identifier, | ||||||
|             ) |             ) | ||||||
|             d.setWindowIcon(read_QIcon("bal32x32.png")) |             d.setWindowIcon(read_QIcon("bal32x32.png")) | ||||||
|         except SerializationError as e: |         except SerializationError as e: | ||||||
|  | |||||||
| @ -178,9 +178,7 @@ class Willexecutors: | |||||||
|         return willexecutor |         return willexecutor | ||||||
| 
 | 
 | ||||||
|     def initialize_willexecutor(willexecutor,url,status=None,selected=None): |     def initialize_willexecutor(willexecutor,url,status=None,selected=None): | ||||||
|         print("1",willexecutor) |  | ||||||
|         willexecutor['url']=url |         willexecutor['url']=url | ||||||
|         print("2",status) |  | ||||||
|         if not status is None: |         if not status is None: | ||||||
|             willexecutor['status'] = status |             willexecutor['status'] = status | ||||||
|         willexecutor['selected'] = Willexecutors.is_selected(willexecutor,selected) |         willexecutor['selected'] = Willexecutors.is_selected(willexecutor,selected) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user