Skip to content

Commit

Permalink
go fmt.
Browse files Browse the repository at this point in the history
  • Loading branch information
Owain G. Ainsworth committed Dec 11, 2013
1 parent 7df6500 commit 9556369
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions signal.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit 9556369

Please sign in to comment.