aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-02-19 23:27:35 +0800
committerobscuren <geffobscura@gmail.com>2014-02-19 23:27:35 +0800
commit39b6eaf51cc278feb817570e7fe02fc7ceefeb9e (patch)
tree113bcec1387ffe3df96a4667f74fc12a2e2a4ea9 /ethchain
parentd4cc125456c2531f133aaac6ea73d5decbb80dc4 (diff)
downloadgo-tangerine-39b6eaf51cc278feb817570e7fe02fc7ceefeb9e.tar.gz
go-tangerine-39b6eaf51cc278feb817570e7fe02fc7ceefeb9e.tar.zst
go-tangerine-39b6eaf51cc278feb817570e7fe02fc7ceefeb9e.zip
Debug logging functions
Diffstat (limited to 'ethchain')
-rw-r--r--ethchain/stack.go3
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("#############")
}