mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-13 13:53:07 +00:00
storage: always record lease expiration times as integers
This commit is contained in:
parent
96f55be844
commit
e1e037e9b5
@ -75,7 +75,7 @@ class ShareFile:
|
||||
assert f.tell() == offset
|
||||
f.write(struct.pack(">L32s32sL",
|
||||
owner_num, renew_secret, cancel_secret,
|
||||
expiration_time))
|
||||
int(expiration_time)))
|
||||
|
||||
def _read_num_leases(self, f):
|
||||
f.seek(0x08)
|
||||
|
Loading…
x
Reference in New Issue
Block a user