aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2014-04-16 22:01:22 +0800
committerzelig <viktor.tron@gmail.com>2014-04-16 22:01:22 +0800
commit59a7b130191286f141a40d294981805677414eb5 (patch)
tree86a99e0f29f1027d1eefc54d2529d1392e1e3e40
parent32b09d652de90d1626888c4ed6b61fb5bce0a7dc (diff)
downloaddexon-59a7b130191286f141a40d294981805677414eb5.tar.gz
dexon-59a7b130191286f141a40d294981805677414eb5.tar.zst
dexon-59a7b130191286f141a40d294981805677414eb5.zip
typo interrupt
-rw-r--r--ethereum/ethereum.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ethereum/ethereum.go b/ethereum/ethereum.go
index 4f5c3756a..881f39ece 100644
--- a/ethereum/ethereum.go
+++ b/ethereum/ethereum.go
@@ -17,7 +17,7 @@ import (
const Debug = true
// Register interrupt handlers so we can stop the ethereum
-func RegisterInterupts(s *eth.Ethereum) {
+func RegisterInterrupts(s *eth.Ethereum) {
// Buffered chan of one is enough
c := make(chan os.Signal, 1)
// Notify about interrupts for now
@@ -130,7 +130,7 @@ func main() {
go console.Start()
}
- RegisterInterupts(ethereum)
+ RegisterInterrupts(ethereum)
ethereum.Start()
if StartMining {