tendermint/liquidity

consider UnitBatchHeight when calculating OrderExpiryHeight

Closed this issue · 0 comments

Summary of Bug

Currently, SwapMsgState.OrderExpiryHeight height is always set to SwapMsgState.MsgHeight. So if the params.UnitBatchHeight is increased greater than 1, all swap orders could be expired

Version

https://github.com/tendermint/liquidity/releases/tag/v1.2.6-rc1


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned