aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-11-04 08:33:31 +0800
committerobscuren <geffobscura@gmail.com>2014-11-04 08:33:31 +0800
commitf76f953f0cad3b55d6817ce766def50a587f1d19 (patch)
tree88f8d770ed0c4368f79390c128848c439e2c467b
parent9c2b8786784109a0d3fd902cfe351f4616c2491c (diff)
downloadgo-tangerine-f76f953f0cad3b55d6817ce766def50a587f1d19.tar.gz
go-tangerine-f76f953f0cad3b55d6817ce766def50a587f1d19.tar.zst
go-tangerine-f76f953f0cad3b55d6817ce766def50a587f1d19.zip
Removed debug print
-rw-r--r--chain/state_manager.go2
-rw-r--r--state/state_object.go1
2 files changed, 2 insertions, 1 deletions
diff --git a/chain/state_manager.go b/chain/state_manager.go
index f624f0097..31b77c574 100644
--- a/chain/state_manager.go
+++ b/chain/state_manager.go
@@ -254,6 +254,8 @@ func (sm *StateManager) Process(block *Block) (err error) {
return fmt.Errorf("Error validating receipt sha. Received %x, got %x", block.ReceiptSha, receiptSha)
}
+ // TODO validate bloom
+
// Block validation
if err = sm.ValidateBlock(block); err != nil {
statelogger.Errorln("Error validating block:", err)
diff --git a/state/state_object.go b/state/state_object.go
index 70a1766ce..dde058e12 100644
--- a/state/state_object.go
+++ b/state/state_object.go
@@ -301,7 +301,6 @@ func (self *StateObject) CreateOutputForDiff() {
// State object encoding methods
func (c *StateObject) RlpEncode() []byte {
- fmt.Printf("%x %x\n", c.State.Trie.Root, c.CodeHash())
return ethutil.Encode([]interface{}{c.Nonce, c.balance, c.State.Trie.Root, c.CodeHash()})
}