typo interrupt

This commit is contained in:
zelig 2014-04-16 15:01:22 +01:00
parent 32b09d652d
commit 59a7b13019

View File

@ -17,7 +17,7 @@ import (
const Debug = true const Debug = true
// Register interrupt handlers so we can stop the ethereum // 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 // Buffered chan of one is enough
c := make(chan os.Signal, 1) c := make(chan os.Signal, 1)
// Notify about interrupts for now // Notify about interrupts for now
@ -130,7 +130,7 @@ func main() {
go console.Start() go console.Start()
} }
RegisterInterupts(ethereum) RegisterInterrupts(ethereum)
ethereum.Start() ethereum.Start()
if StartMining { if StartMining {