Skip to content

Commit

Permalink
fix: Issue #210 time too precise
Browse files Browse the repository at this point in the history
Signed-off-by: Rob Simpson <[email protected]>
  • Loading branch information
Rob Simpson authored and Rob Simpson committed Aug 15, 2023
1 parent 99ffe2b commit 4a68336
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wrappers/python/indy_vdr/ledger.py
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,9 @@ def prepare_txn_author_agreement_acceptance(
if not accepted_time:
# rough timestamp
accepted_time = int(
datetime.combine(date.today(), datetime.min.time(), tzinfo=timezone.utc).timestamp()
datetime.combine(
date.today(), datetime.min.time(), timezone.utc
).timestamp()
)
result = lib_string()
do_call(
Expand Down

0 comments on commit 4a68336

Please sign in to comment.