aboutsummaryrefslogtreecommitdiffstats
path: root/ethpipe/js_types.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethpipe/js_types.go')
-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)