mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2024-10-01 01:35:42 -04:00
fix offer state after restarting
This commit is contained in:
parent
60a9c98285
commit
6fa1db708f
@ -1033,7 +1033,7 @@ test("Can schedule offers with locked funds", async () => {
|
|||||||
|
|
||||||
// has offer
|
// has offer
|
||||||
offer = await charlie.getMyOffer(offer.getId());
|
offer = await charlie.getMyOffer(offer.getId());
|
||||||
assert.equal(offer.getState(), "UNKNOWN"); // TODO: offer status is unknown after restart
|
assert.equal(offer.getState(), "SCHEDULED");
|
||||||
|
|
||||||
// peer does not see offer because it's scheduled
|
// peer does not see offer because it's scheduled
|
||||||
await wait(TestConfig.maxTimePeerNoticeMs);
|
await wait(TestConfig.maxTimePeerNoticeMs);
|
||||||
|
Loading…
Reference in New Issue
Block a user