make mock-wallet times relative

This commit is contained in:
Josh Harvey 2017-07-25 19:59:47 +03:00
parent 916a3629a8
commit 37d12291a0

View file

@ -6,8 +6,8 @@ const NAME = 'FakeWallet'
const SECONDS = 1000
const PUBLISH_TIME = 2 * SECONDS
const AUTHORIZE_TIME = 8 * SECONDS
const CONFIRM_TIME = 180 * SECONDS
const AUTHORIZE_TIME = PUBLISH_TIME + 6 * SECONDS
const CONFIRM_TIME = AUTHORIZE_TIME + 180 * SECONDS
let t0