1 parent 14e42a6 commit 49971d9Copy full SHA for 49971d9
1 file changed
src/app_config.py
@@ -256,6 +256,11 @@ def init(self, app_dir):
256
self.trezor_hid = args.trezor_hid
257
self.sig_time_offset_min = args.sig_time_offset_min
258
self.sig_time_offset_max = args.sig_time_offset_max
259
+ if not self.sig_time_offset_min < self.sig_time_offset_max:
260
+ WndUtils.errorMsg('--sig-time-offset-min must be less than --sig-time-offset-max. Using the default '
261
+ 'values (-1800/1800).')
262
+ self.sig_time_offset_min = -1800
263
+ self.sig_time_offset_max = 1800
264
265
app_user_dir = ''
266
if args.data_dir:
0 commit comments