Skip to content

Commit

Permalink
fix oracle test
Browse files Browse the repository at this point in the history
  • Loading branch information
mvadari committed May 17, 2024
1 parent 8ae0e1c commit cd1e0d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xrpl/models/transactions/oracle_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@

# epoch offset must equal 946684800 seconds. It represents the diff between the
# genesis of Unix time and Ripple-Epoch time
EPOCH_OFFSET = (
datetime.datetime(2000, 1, 1) - datetime.datetime(1970, 1, 1)
).total_seconds()
EPOCH_OFFSET = int(
(datetime.datetime(2000, 1, 1) - datetime.datetime(1970, 1, 1)).total_seconds()
)


@require_kwargs_on_init
Expand Down

0 comments on commit cd1e0d0

Please sign in to comment.