internal/ethapi: initialize account mutex in lock properly
This commit is contained in:
		
				
					committed by
					
						
						Péter Szilágyi
					
				
			
			
				
	
			
			
			
						parent
						
							0036e2a747
						
					
				
				
					commit
					1a0eb903f1
				
			@@ -212,6 +212,7 @@ type PrivateAccountAPI struct {
 | 
				
			|||||||
func NewPrivateAccountAPI(b Backend, nonceLock *AddrLocker) *PrivateAccountAPI {
 | 
					func NewPrivateAccountAPI(b Backend, nonceLock *AddrLocker) *PrivateAccountAPI {
 | 
				
			||||||
	return &PrivateAccountAPI{
 | 
						return &PrivateAccountAPI{
 | 
				
			||||||
		am:        b.AccountManager(),
 | 
							am:        b.AccountManager(),
 | 
				
			||||||
 | 
							nonceLock: nonceLock,
 | 
				
			||||||
		b:         b,
 | 
							b:         b,
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user