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

Commit

Permalink
pull
Browse files Browse the repository at this point in the history
  • Loading branch information
itsdevbear committed Jan 17, 2024
1 parent 9485e1b commit 2c93e6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cosmos/runtime/chain/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (wbc *WrappedBlockchain) ProcessProposal(
}

// Insert the block into the chain.
if err = wbc.InsertBlockAndSetHead(block); err != nil {
if err = wbc.InsertBlock(block); err != nil {
ctx.Logger().Error("failed to insert block", "err", err)
return &abci.ResponseProcessProposal{
Status: abci.ResponseProcessProposal_REJECT,
Expand Down
2 changes: 1 addition & 1 deletion cosmos/x/evm/keeper/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func (k *Keeper) ProcessPayloadEnvelope(
k.chain.PrimePlugins(ctx)

// Insert the finalized block and set the chain head.
if err = k.chain.InsertBlock(block); err != nil {
if err = k.chain.InsertBlockAndSetHead(block); err != nil {
return nil, err
}

Expand Down

0 comments on commit 2c93e6e

Please sign in to comment.