Skip to content

Commit 304f7f1

Browse files
authored
Merge pull request #2458 from oasisprotocol/peternose/bugfix/year-term
runtime-sdk/modules/rofl-market: Fix duration of year term
2 parents 67f2161 + 327c402 commit 304f7f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • runtime-sdk/modules/rofl-market/src

runtime-sdk/modules/rofl-market/src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ impl Term {
124124
match self {
125125
Self::Hour => 60 * 60,
126126
Self::Month => 30 * 24 * 60 * 60,
127-
Self::Year => 365 * 30 * 24 * 60 * 60,
127+
Self::Year => 365 * 24 * 60 * 60,
128128
}
129129
}
130130
}

0 commit comments

Comments
 (0)