Skip to content

Commit

Permalink
Merge pull request #11404 from vegaprotocol/stop-order-unmarshal
Browse files Browse the repository at this point in the history
fix: unmarshall stop-order cancellation into pointer when preparing b…
  • Loading branch information
EVODelavega committed Jun 21, 2024
2 parents b634ddb + 66d93ff commit 7c4577b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/processor/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -1026,7 +1026,7 @@ func (app *App) prepareProposal(height uint64, txs []abci.Tx, rawTxs [][]byte) [
anythingElseFromThisBlock = append(anythingElseFromThisBlock, tx.raw)
}
case txn.StopOrdersCancellationCommand:
s := commandspb.StopOrdersCancellation{}
s := &commandspb.StopOrdersCancellation{}
if err := tx.tx.Unmarshal(s); err != nil {
continue
}
Expand Down

0 comments on commit 7c4577b

Please sign in to comment.