rpc: migrated the RPC insterface to a new reflection based RPC layer
This commit is contained in:
committed by
Jeffrey Wilcke
parent
f2ab351e8d
commit
19b2640e89
@ -100,7 +100,7 @@ func (am *Manager) Lock(addr common.Address) error {
|
||||
am.mutex.Lock()
|
||||
if unl, found := am.unlocked[addr]; found {
|
||||
am.mutex.Unlock()
|
||||
am.expire(addr, unl, time.Duration(0) * time.Nanosecond)
|
||||
am.expire(addr, unl, time.Duration(0)*time.Nanosecond)
|
||||
} else {
|
||||
am.mutex.Unlock()
|
||||
}
|
||||
|
Reference in New Issue
Block a user