()
| 345 | } |
| 346 | |
| 347 | func (cli *socketClient) CommitSync() (*types.ResponseCommit, error) { |
| 348 | reqres := cli.queueRequest(types.ToRequestCommit()) |
| 349 | if err := cli.FlushSync(); err != nil { |
| 350 | return nil, err |
| 351 | } |
| 352 | |
| 353 | return reqres.Response.GetCommit(), cli.Error() |
| 354 | } |
| 355 | |
| 356 | func (cli *socketClient) InitChainSync(req types.RequestInitChain) (*types.ResponseInitChain, error) { |
| 357 | reqres := cli.queueRequest(types.ToRequestInitChain(req)) |
nothing calls this directly
no test coverage detected