Browse Source

Updated main.go - fix for broken develop build

Transaction execution fixes - 60cdb1148c404218846fd39331690658168f4e04
Eric Robitaille 11 năm trước cách đây
mục cha
commit
0f47129113
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      cmd/ethereum/main.go

+ 1 - 1
cmd/ethereum/main.go

@@ -93,7 +93,7 @@ func main() {
 			os.Exit(1)
 		}
 
-		fmt.Printf("RLP: %x\nstate: %x\nhash: %x\n", ethutil.Rlp(block), block.GetRoot(), block.Hash())
+		fmt.Printf("RLP: %x\nstate: %x\nhash: %x\n", ethutil.Rlp(block), block.Root(), block.Hash())
 
 		// Leave the Println. This needs clean output for piping
 		fmt.Printf("%s\n", block.State().Dump())