forked from cerc-io/plugeth
Make sure mist runs ... :-)
This commit is contained in:
parent
6184781b49
commit
2e2860e4df
@ -77,15 +77,19 @@ func NewBlock(block *types.Block) *Block {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ptxs := make([]*Transaction, len(block.Transactions()))
|
ptxs := make([]*Transaction, len(block.Transactions()))
|
||||||
|
/*
|
||||||
for i, tx := range block.Transactions() {
|
for i, tx := range block.Transactions() {
|
||||||
ptxs[i] = NewTx(tx)
|
ptxs[i] = NewTx(tx)
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
txlist := common.NewList(ptxs)
|
txlist := common.NewList(ptxs)
|
||||||
|
|
||||||
puncles := make([]*Block, len(block.Uncles()))
|
puncles := make([]*Block, len(block.Uncles()))
|
||||||
|
/*
|
||||||
for i, uncle := range block.Uncles() {
|
for i, uncle := range block.Uncles() {
|
||||||
puncles[i] = NewBlock(types.NewBlockWithHeader(uncle))
|
puncles[i] = NewBlock(types.NewBlockWithHeader(uncle))
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
ulist := common.NewList(puncles)
|
ulist := common.NewList(puncles)
|
||||||
|
|
||||||
return &Block{
|
return &Block{
|
||||||
|
Loading…
Reference in New Issue
Block a user