mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-19 14:34:17 +00:00
rpc: deprecate/updates to broadcast tx (#8624)
This commit is contained in:
@@ -52,6 +52,10 @@ func (p proxyService) BroadcastTxAsync(ctx context.Context, req *coretypes.Reque
|
||||
return p.Client.BroadcastTxAsync(ctx, req.Tx)
|
||||
}
|
||||
|
||||
func (p proxyService) BroadcastTx(ctx context.Context, req *coretypes.RequestBroadcastTx) (*coretypes.ResultBroadcastTx, error) {
|
||||
return p.Client.BroadcastTx(ctx, req.Tx)
|
||||
}
|
||||
|
||||
func (p proxyService) BroadcastTxCommit(ctx context.Context, req *coretypes.RequestBroadcastTx) (*coretypes.ResultBroadcastTxCommit, error) {
|
||||
return p.Client.BroadcastTxCommit(ctx, req.Tx)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user