Add signer initializer
This commit is contained in:
		
							parent
							
								
									d914f64797
								
							
						
					
					
						commit
						70d8ab6a33
					
				| @ -27,6 +27,10 @@ class Wallet: | ||||
|         self.use_checksum = False | ||||
| 
 | ||||
| 
 | ||||
|     def init(self): | ||||
|         self.signer = self.signer_constructor(self.keystore) | ||||
| 
 | ||||
| 
 | ||||
|     def from_config(self, config): | ||||
|         """Instantiates a signer from the registered signer class, using parameters from a processed configuration. | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user