From 66d93ff15465f0f41b6679b394d0748ac21a56e8 Mon Sep 17 00:00:00 2001 From: wwestgarth Date: Fri, 21 Jun 2024 15:20:09 +0100 Subject: [PATCH] fix: unmarshall stop-order cancellation into pointer when preparing block --- core/processor/abci.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/processor/abci.go b/core/processor/abci.go index 052cf9183e..fa51c84133 100644 --- a/core/processor/abci.go +++ b/core/processor/abci.go @@ -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 }