aboutsummaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2016-05-04 17:02:13 -0400
committerThibaut Horel <thibaut.horel@gmail.com>2016-05-04 17:02:13 -0400
commitebeffe49049d06a31e7f9497e3f6d13f0d50d5ce (patch)
tree2705c5f9bb2496af0b6643468580189cbb7ea55d /main.go
parent7062dde54e8fa527e785209209d3cd7d90848891 (diff)
downloadpos-ebeffe49049d06a31e7f9497e3f6d13f0d50d5ce.tar.gz
Some inlining and removing useless code
Diffstat (limited to 'main.go')
-rw-r--r--main.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/main.go b/main.go
index bfe2d4b..33b2de2 100644
--- a/main.go
+++ b/main.go
@@ -2,7 +2,6 @@ package main
import (
"flag"
- "fmt"
"log"
"os"
"runtime/pprof"
@@ -32,9 +31,11 @@ func main() {
defer pprof.StopCPUProfile()
p := NewProver(*height, *fname, *mtype)
- root := p.Build()
- fmt.Println(root)
- id := p.Size() / 2
- proof := p.Proof(id)
- fmt.Println(verify(id, proof))
+ p.Build()
+ /*
+ fmt.Println(root)
+ id := p.Size() / 2
+ proof := p.Proof(id)
+ fmt.Println(verify(id, proof))
+ */
}