Commit 44a7f997 authored by Taylor Gerring's avatar Taylor Gerring

Unreverse ordering

parent 5c654045
......@@ -111,10 +111,9 @@ func JSONRPC(pipe *xeth.XEth) http.Handler {
// make response omitting nil entries
respBatchComp := make([]*interface{}, resCount)
resCount = resCount - 1
for _, v := range resBatch {
if v != nil {
respBatchComp[resCount] = v
respBatchComp[len(respBatchComp)-resCount] = v
resCount = resCount - 1
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment