typo interrupt

pull/33/head
zelig 11 years ago
parent 32b09d652d
commit 59a7b13019
  1. 4
      ethereum/ethereum.go

@ -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 {

Loading…
Cancel
Save