aboutsummaryrefslogtreecommitdiffstats
path: root/transaction.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-01-06 03:41:01 +0800
committerobscuren <geffobscura@gmail.com>2014-01-06 03:41:01 +0800
commit1676930a1644f06dafc66e2b5595eb343ffebc07 (patch)
tree0c3a518c11efa5a21e8cb2a8ffdef4b7f0a064a1 /transaction.go
parent40dc4d0259b3bec4e8ac11dc4dd4daeaf663fa7c (diff)
downloaddexon-1676930a1644f06dafc66e2b5595eb343ffebc07.tar.gz
dexon-1676930a1644f06dafc66e2b5595eb343ffebc07.tar.zst
dexon-1676930a1644f06dafc66e2b5595eb343ffebc07.zip
updated testing"
Diffstat (limited to 'transaction.go')
-rw-r--r--transaction.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/transaction.go b/transaction.go
index a3279aa33..168d58566 100644
--- a/transaction.go
+++ b/transaction.go
@@ -2,7 +2,7 @@ package main
import (
"math/big"
- "fmt"
+ _"fmt"
"github.com/obscuren/secp256k1-go"
_"encoding/hex"
_"crypto/sha256"
@@ -140,7 +140,6 @@ func (tx *Transaction) MarshalRlp() []byte {
func (tx *Transaction) UnmarshalRlp(data []byte) {
t, _ := Decode(data,0)
if slice, ok := t.([]interface{}); ok {
- fmt.Printf("NONCE %T\n", slice[3])
if nonce, ok := slice[0].(uint8); ok {
tx.nonce = string(nonce)
}
@@ -186,7 +185,6 @@ func (tx *Transaction) UnmarshalRlp(data []byte) {
}
// vrs
- fmt.Printf("v %T\n", slice[5])
if v, ok := slice[5].(uint8); ok {
tx.v = uint32(v)
}