main.go: drop it, useless in master branch
Brought by the `dev` merge originally.
This commit is contained in:
parent
beec8f114a
commit
c7bb464b92
1 changed files with 0 additions and 20 deletions
20
main.go
20
main.go
|
@ -1,20 +0,0 @@
|
||||||
package main
|
|
||||||
|
|
||||||
import (
|
|
||||||
"fmt"
|
|
||||||
|
|
||||||
"github.com/CityOfZion/neo-go/pkg/server"
|
|
||||||
"github.com/CityOfZion/neo-go/pkg/wire/protocol"
|
|
||||||
)
|
|
||||||
|
|
||||||
func main() {
|
|
||||||
s, err := server.New(protocol.MainNet, 10332)
|
|
||||||
if err != nil {
|
|
||||||
fmt.Println(err)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
err = s.Run()
|
|
||||||
if err != nil {
|
|
||||||
fmt.Println("Server has stopped from the following error: ", err.Error())
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in a new issue