diff options
Diffstat (limited to 'internal')
-rw-r--r-- | internal/ethapi/api.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index c4a871e48..da5dc5d58 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -211,8 +211,9 @@ type PrivateAccountAPI struct { // NewPrivateAccountAPI create a new PrivateAccountAPI. func NewPrivateAccountAPI(b Backend, nonceLock *AddrLocker) *PrivateAccountAPI { return &PrivateAccountAPI{ - am: b.AccountManager(), - b: b, + am: b.AccountManager(), + nonceLock: nonceLock, + b: b, } } |