mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-27 21:32:57 +00:00
typo interrupt
This commit is contained in:
parent
32b09d652d
commit
59a7b13019
1 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue