From 95563691cd5bab5748c29e74dfcf63a3a2beab8f Mon Sep 17 00:00:00 2001 From: "Owain G. Ainsworth" Date: Wed, 11 Dec 2013 00:41:03 +0000 Subject: [PATCH] go fmt. --- signal.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/signal.go b/signal.go index 861ad334..1a1039c0 100644 --- a/signal.go +++ b/signal.go @@ -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() }