internal/ethapi: initialize account mutex in lock properly

release/1.6
Martin Holst Swende 8 years ago committed by Péter Szilágyi
parent 0036e2a747
commit 1a0eb903f1
  1. 1
      internal/ethapi/api.go

@ -212,6 +212,7 @@ type PrivateAccountAPI struct {
func NewPrivateAccountAPI(b Backend, nonceLock *AddrLocker) *PrivateAccountAPI {
return &PrivateAccountAPI{
am: b.AccountManager(),
nonceLock: nonceLock,
b: b,
}
}

Loading…
Cancel
Save