mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-23 13:41:37 +00:00
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