Add missing mutex unlock if an error is hit.
Spotted by dhill.
This commit is contained in:
parent
47b5e17917
commit
e1ce9843bf
1 changed files with 1 additions and 0 deletions
|
@ -378,6 +378,7 @@ func ProcessBtcdNotificationReply(b []byte) {
|
|||
delete(replyRouter.m, routeID)
|
||||
} else {
|
||||
// Can't route to a frontend, drop reply.
|
||||
replyRouter.Unlock()
|
||||
log.Info("Unable to route btcd reply to frontend. Dropping.")
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue