diff options
author | obscuren <geffobscura@gmail.com> | 2014-02-19 23:27:35 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-02-19 23:27:35 +0800 |
commit | 39b6eaf51cc278feb817570e7fe02fc7ceefeb9e (patch) | |
tree | 113bcec1387ffe3df96a4667f74fc12a2e2a4ea9 /ethchain/stack.go | |
parent | d4cc125456c2531f133aaac6ea73d5decbb80dc4 (diff) | |
download | go-tangerine-39b6eaf51cc278feb817570e7fe02fc7ceefeb9e.tar go-tangerine-39b6eaf51cc278feb817570e7fe02fc7ceefeb9e.tar.gz go-tangerine-39b6eaf51cc278feb817570e7fe02fc7ceefeb9e.tar.bz2 go-tangerine-39b6eaf51cc278feb817570e7fe02fc7ceefeb9e.tar.lz go-tangerine-39b6eaf51cc278feb817570e7fe02fc7ceefeb9e.tar.xz go-tangerine-39b6eaf51cc278feb817570e7fe02fc7ceefeb9e.tar.zst go-tangerine-39b6eaf51cc278feb817570e7fe02fc7ceefeb9e.zip |
Debug logging functions
Diffstat (limited to 'ethchain/stack.go')
-rw-r--r-- | ethchain/stack.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ethchain/stack.go b/ethchain/stack.go index 02834bd78..74f3d7ec9 100644 --- a/ethchain/stack.go +++ b/ethchain/stack.go @@ -163,7 +163,7 @@ func (st *Stack) Push(d *big.Int) { st.data = append(st.data, d) } func (st *Stack) Print() { - fmt.Println("# val (STACK)") + fmt.Println("### STACK ###") if len(st.data) > 0 { for i, val := range st.data { fmt.Printf("%-3d %v\n", i, val) @@ -171,4 +171,5 @@ func (st *Stack) Print() { } else { fmt.Println("-- empty --") } + fmt.Println("#############") } |