aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/responses_test.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-09 02:45:39 +0800
committerobscuren <geffobscura@gmail.com>2015-04-09 02:45:39 +0800
commita7750c929b926d164195fd4f7a7e2b4642c66173 (patch)
tree81c104392bfa148e3c8cfc764eb9e152ff64c408 /rpc/responses_test.go
parentf08e9cbe42dcb067affe0ca1077285ba1b583c95 (diff)
downloadgo-tangerine-a7750c929b926d164195fd4f7a7e2b4642c66173.tar.gz
go-tangerine-a7750c929b926d164195fd4f7a7e2b4642c66173.tar.zst
go-tangerine-a7750c929b926d164195fd4f7a7e2b4642c66173.zip
Fixed tests to reflect log changes
Diffstat (limited to 'rpc/responses_test.go')
-rw-r--r--rpc/responses_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpc/responses_test.go b/rpc/responses_test.go
index e04a064ce..66323e5f5 100644
--- a/rpc/responses_test.go
+++ b/rpc/responses_test.go
@@ -217,7 +217,7 @@ func TestNewLogRes(t *testing.T) {
}
func TestNewLogsRes(t *testing.T) {
- logs := make([]state.Log, 3)
+ logs := make([]*state.Log, 3)
logs[0] = makeStateLog(1)
logs[1] = makeStateLog(2)
logs[2] = makeStateLog(3)
@@ -235,7 +235,7 @@ func TestNewLogsRes(t *testing.T) {
}
-func makeStateLog(num int) state.Log {
+func makeStateLog(num int) *state.Log {
address := common.HexToAddress("0x0")
data := []byte{1, 2, 3}
number := uint64(num)