diff options
author | Determinant <[email protected]> | 2019-08-14 01:37:25 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2019-08-14 01:37:25 -0400 |
commit | 592f21f5b97e5b1e714f194ae90ab83e6547cf41 (patch) | |
tree | c500cdf4ca4266af15703eca182df34d66715918 /examples | |
parent | ad886faec521f1edcb90f6f8eb4555608d085312 (diff) |
finish a full chain example (with p2p network)
Diffstat (limited to 'examples')
-rw-r--r-- | examples/fc/main.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/fc/main.go b/examples/fc/main.go new file mode 100644 index 0000000..f336ab5 --- /dev/null +++ b/examples/fc/main.go @@ -0,0 +1,14 @@ +package main + +import ( + "os" + "github.com/Determinant/coreth/cmd/geth" +) + +func checkError(err error) { + if err != nil { panic(err) } +} + +func main() { + geth.App.Run(os.Args) +} |