(req types.RequestEndBlock)
| 372 | } |
| 373 | |
| 374 | func (cli *socketClient) EndBlockSync(req types.RequestEndBlock) (*types.ResponseEndBlock, error) { |
| 375 | reqres := cli.queueRequest(types.ToRequestEndBlock(req)) |
| 376 | if err := cli.FlushSync(); err != nil { |
| 377 | return nil, err |
| 378 | } |
| 379 | |
| 380 | return reqres.Response.GetEndBlock(), cli.Error() |
| 381 | } |
| 382 | |
| 383 | func (cli *socketClient) ListSnapshotsSync(req types.RequestListSnapshots) (*types.ResponseListSnapshots, error) { |
| 384 | reqres := cli.queueRequest(types.ToRequestListSnapshots(req)) |
nothing calls this directly
no test coverage detected