ExchangeUnion / xud

Exchange Union Daemon 🔁 ⚡️
https://exchangeunion.com
GNU Affero General Public License v3.0
115 stars 49 forks source link

No old active orders from peers after remove->add pair case #1976

Open raladev opened 3 years ago

raladev commented 3 years ago

Steps to reproduce

  1. Alice and Bob are connected to each other, Both have BTC/USDT pair, Bob has orders for this pair
  2. remove USDT/BTC pair as Alice
  3. add USDT/BTC pair as Alice
  4. Check order book of Alice

Expected behaviour

Alice sees old orders of Bob

Actual behaviour

Alice does not see Bob's orders

Additional Steps

  1. Place new order as Bob
  2. Check order book

Additional actual result

Alice sees only second order of Bob

kilrau commented 3 years ago

This is a follow-up of https://github.com/ExchangeUnion/xud/pull/1746#issuecomment-720580703