fix offer state after restarting

This commit is contained in:
woodser 2022-05-23 18:26:31 -04:00
parent 60a9c98285
commit 6fa1db708f

View File

@ -1033,7 +1033,7 @@ test("Can schedule offers with locked funds", async () => {
// has offer
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
await wait(TestConfig.maxTimePeerNoticeMs);