Browse Source

rpc: decrement mempool count after block mined

pull/43/merge
Ethan Buchman 10 years ago
committed by Jae Kwon
parent
commit
964a189210
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      rpc/test/http_rpc_test.go

+ 1
- 0
rpc/test/http_rpc_test.go View File

@ -154,6 +154,7 @@ func TestHTTPGetStorage(t *testing.T) {
t.Fatal("Creates contract but resulting address is empty") t.Fatal("Creates contract but resulting address is empty")
} }
time.Sleep(time.Second * 20) time.Sleep(time.Second * 20)
mempoolCount -= 1
v := getStorage(t, contractAddr, []byte{0x1}) v := getStorage(t, contractAddr, []byte{0x1})
got := RightPadWord256(v) got := RightPadWord256(v)


Loading…
Cancel
Save