Removed debug print

This commit is contained in:
obscuren 2014-11-04 01:33:31 +01:00
parent 9c2b878678
commit f76f953f0c
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -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()})
}