diff options
author | obscuren <geffobscura@gmail.com> | 2014-01-09 06:43:20 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-01-09 06:43:20 +0800 |
commit | 92b6667bd1cf7aad4a00331d761d8a92b03a7cae (patch) | |
tree | 01eba885b03343e576785082d90e3f786cf48261 /testing.go | |
parent | 9f42835a0204ba2508895c1d259340bcda843974 (diff) | |
download | dexon-92b6667bd1cf7aad4a00331d761d8a92b03a7cae.tar.gz dexon-92b6667bd1cf7aad4a00331d761d8a92b03a7cae.tar.zst dexon-92b6667bd1cf7aad4a00331d761d8a92b03a7cae.zip |
Minor update
Diffstat (limited to 'testing.go')
-rw-r--r-- | testing.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/testing.go b/testing.go index 3762e4dc5..9b7b7b3ce 100644 --- a/testing.go +++ b/testing.go @@ -1,7 +1,8 @@ package main +/* import ( - "fmt" + _"fmt" ) // This will eventually go away @@ -15,18 +16,17 @@ func Testing() { tx := NewTransaction("\x00", 20, []string{"PUSH"}) txData := tx.MarshalRlp() - fmt.Printf("%q\n", txData) + //fmt.Printf("%q\n", txData) copyTx := &Transaction{} copyTx.UnmarshalRlp(txData) - fmt.Println(tx) - fmt.Println(copyTx) + //fmt.Println(tx) + //fmt.Println(copyTx) tx2 := NewTransaction("\x00", 20, []string{"SET 10 6", "LD 10 10"}) blck := CreateTestBlock([]*Transaction{tx2, tx}) bm.ProcessBlock( blck ) - - fmt.Println("GenesisBlock:", GenisisBlock, "hash", string(GenisisBlock.Hash())) } +*/ |