go fmt.
This commit is contained in:
parent
7df65008be
commit
95563691cd
1 changed files with 2 additions and 2 deletions
|
@ -29,8 +29,8 @@ func mainInterruptHandler() {
|
|||
case <-interruptChannel:
|
||||
btcdLog.Infof("Received SIGINT (Ctrl+C). Shutting down...")
|
||||
// run handlers in LIFO order.
|
||||
for i := range interruptCallbacks {
|
||||
idx := len(interruptCallbacks) -1 -i
|
||||
for i := range interruptCallbacks {
|
||||
idx := len(interruptCallbacks) - 1 - i
|
||||
callback := interruptCallbacks[idx]
|
||||
callback()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue