Daniel Nephin 6b513c1ba4 rpc: add tests for canRetry
Also accept an RPCInfo instead of interface{}. Accepting an interface
lead to a bug where the caller was expecting the arg to be the response
when in fact it was always passed the request. By accepting RPCInfo
it should indicate that this is actually the request value.

One caller of canRetry already passed an RPCInfo, the second handles
the type assertion before calling canRetry.
2021-05-06 13:30:07 -04:00
..
2020-12-07 13:42:55 -05:00
2021-05-05 09:28:17 -07:00
2021-05-06 13:30:07 -04:00
2021-03-22 10:16:41 +01:00
2021-05-05 10:13:56 -07:00
2021-05-04 12:41:43 -07:00
2021-03-22 10:16:41 +01:00