From 0015ce1e353f52cca818d11f566b9a656fb85f24 Mon Sep 17 00:00:00 2001 From: obscuren Date: Tue, 7 Oct 2014 11:18:46 +0200 Subject: kick of bad peers --- ethpipe/js_types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ethpipe') diff --git a/ethpipe/js_types.go b/ethpipe/js_types.go index ca85da85a..b8b546980 100644 --- a/ethpipe/js_types.go +++ b/ethpipe/js_types.go @@ -33,9 +33,9 @@ func NewJSBlock(block *ethchain.Block) *JSBlock { return &JSBlock{} } - var ptxs []JSTransaction + var ptxs []*JSTransaction for _, tx := range block.Transactions() { - ptxs = append(ptxs, *NewJSTx(tx, block.State())) + ptxs = append(ptxs, NewJSTx(tx, block.State())) } list := ethutil.NewList(ptxs) -- cgit v1.2.3