Skip to content

Commit

Permalink
Fix snapshot saving error
Browse files Browse the repository at this point in the history
  • Loading branch information
lumos42 committed Sep 3, 2023
1 parent 852a033 commit b3f8ce8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugin/evm/limit_order.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ func NewLimitOrderProcesser(ctx *snow.Context, txPool *txpool.TxPool, shutdownCh

// need to register the types for gob encoding because memory DB has an interface field(ContractOrder)
gob.Register(&orderbook.LimitOrder{})
gob.Register(&orderbook.LimitOrderV2{})
gob.Register(&orderbook.IOCOrder{})
return &limitOrderProcesser{
ctx: ctx,
Expand Down

0 comments on commit b3f8ce8

Please sign in to comment.