Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into mempool_telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
itsdevbear authored Jan 17, 2024
2 parents 8f1f7a6 + a6a8854 commit f2ef95f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions cosmos/runtime/chain/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,12 @@ func (wbc *WrappedBlockchain) ProcessProposal(
continue
}

protoEnvelope := sdkTx.GetMsgs()[0]
if env, ok := protoEnvelope.(*evmtypes.WrappedPayloadEnvelope); ok {
envelope = env.UnwrapPayload()
break
if len(sdkTx.GetMsgs()) == 1 {
protoEnvelope := sdkTx.GetMsgs()[0]
if env, ok := protoEnvelope.(*evmtypes.WrappedPayloadEnvelope); ok {
envelope = env.UnwrapPayload()
break
}
}
}

Expand Down

0 comments on commit f2ef95f

Please sign in to comment.