mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-26 05:17:19 +00:00
typo interrupt
This commit is contained in:
parent
32b09d652d
commit
59a7b13019
@ -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…
Reference in New Issue
Block a user