mirror of
https://github.com/fluencelabs/tendermint
synced 2025-07-31 04:01:55 +00:00
nope
This commit is contained in:
@@ -201,8 +201,8 @@ func BroadcastTxCommit(tx types.Tx) (*ctypes.ResultBroadcastTxCommit, error) {
|
||||
// TODO: configurable?
|
||||
var deliverTxTimeout = rpcserver.WriteTimeout / 2
|
||||
select {
|
||||
case deliverTxResMsg := <-deliverTxSub.Out(): // The tx was included in a block.
|
||||
deliverTxRes := deliverTxResMsg.Msg.(types.EventDataTx)
|
||||
case mt := <-deliverTxSub.Out(): // The tx was included in a block.
|
||||
deliverTxRes := mt.Msg().(types.EventDataTx)
|
||||
return &ctypes.ResultBroadcastTxCommit{
|
||||
CheckTx: *checkTxRes,
|
||||
DeliverTx: deliverTxRes.Result,
|
||||
|
Reference in New Issue
Block a user