aboutsummaryrefslogtreecommitdiffstats
path: root/xeth
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-09 04:17:49 +0800
committerobscuren <geffobscura@gmail.com>2015-04-09 04:17:49 +0800
commit2e2860e4df4500d1e801c9753ea71014738b83d3 (patch)
tree3ad235e77e5af61c43780e5ba7eb995612726e9e /xeth
parent6184781b49242b8029522612ad94cd45b508abc1 (diff)
downloaddexon-2e2860e4df4500d1e801c9753ea71014738b83d3.tar
dexon-2e2860e4df4500d1e801c9753ea71014738b83d3.tar.gz
dexon-2e2860e4df4500d1e801c9753ea71014738b83d3.tar.bz2
dexon-2e2860e4df4500d1e801c9753ea71014738b83d3.tar.lz
dexon-2e2860e4df4500d1e801c9753ea71014738b83d3.tar.xz
dexon-2e2860e4df4500d1e801c9753ea71014738b83d3.tar.zst
dexon-2e2860e4df4500d1e801c9753ea71014738b83d3.zip
Make sure mist runs ... :-)
Diffstat (limited to 'xeth')
-rw-r--r--xeth/types.go16
1 files changed, 10 insertions, 6 deletions
diff --git a/xeth/types.go b/xeth/types.go
index 3f96f8f8b..739092474 100644
--- a/xeth/types.go
+++ b/xeth/types.go
@@ -77,15 +77,19 @@ func NewBlock(block *types.Block) *Block {
}
ptxs := make([]*Transaction, len(block.Transactions()))
- for i, tx := range block.Transactions() {
- ptxs[i] = NewTx(tx)
- }
+ /*
+ for i, tx := range block.Transactions() {
+ ptxs[i] = NewTx(tx)
+ }
+ */
txlist := common.NewList(ptxs)
puncles := make([]*Block, len(block.Uncles()))
- for i, uncle := range block.Uncles() {
- puncles[i] = NewBlock(types.NewBlockWithHeader(uncle))
- }
+ /*
+ for i, uncle := range block.Uncles() {
+ puncles[i] = NewBlock(types.NewBlockWithHeader(uncle))
+ }
+ */
ulist := common.NewList(puncles)
return &Block{