aboutsummaryrefslogtreecommitdiffstats
path: root/ethpipe
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-10-07 17:18:46 +0800
committerobscuren <geffobscura@gmail.com>2014-10-07 17:18:46 +0800
commit0015ce1e353f52cca818d11f566b9a656fb85f24 (patch)
treecb14b0d81b0418e990276982b7f1ccf293ba1508 /ethpipe
parent677836cbee1105043335c672b41dc4402e98c227 (diff)
downloadgo-tangerine-0015ce1e353f52cca818d11f566b9a656fb85f24.tar.gz
go-tangerine-0015ce1e353f52cca818d11f566b9a656fb85f24.tar.zst
go-tangerine-0015ce1e353f52cca818d11f566b9a656fb85f24.zip
kick of bad peers
Diffstat (limited to 'ethpipe')
-rw-r--r--ethpipe/js_types.go4
1 files changed, 2 insertions, 2 deletions
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)