aboutsummaryrefslogtreecommitdiff
path: root/examples/fc
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2019-08-15 14:50:39 -0400
committerDeterminant <ted.sybil@gmail.com>2019-08-15 14:50:39 -0400
commit669168d32a534c1054f9df659b3199f7b6da0d21 (patch)
tree5cc6fc7fa2174473d298cababb5d573640ebe977 /examples/fc
parent49b07487092947a8b54d39ce4fbdc94e33537993 (diff)
show wallet state in the example
Diffstat (limited to 'examples/fc')
-rw-r--r--examples/fc/main.go10
1 files changed, 6 insertions, 4 deletions
diff --git a/examples/fc/main.go b/examples/fc/main.go
index d6b224c..f4bf65d 100644
--- a/examples/fc/main.go
+++ b/examples/fc/main.go
@@ -1,14 +1,16 @@
package main
import (
- "os"
- "github.com/ava-labs/coreth/cmd/geth"
+ "github.com/ava-labs/coreth/cmd/geth"
+ "os"
)
func checkError(err error) {
- if err != nil { panic(err) }
+ if err != nil {
+ panic(err)
+ }
}
func main() {
- geth.App.Run(os.Args)
+ geth.App.Run(os.Args)
}