Skip to content

Commit

Permalink
[#1416] Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Milan-Cerovsky committed Sep 9, 2024
1 parent 8f1e667 commit 58fc01b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ object TransactionOverviewFixture {
const val MEMO_COUNT: Int = 0
const val BLOCK_TIME_EPOCH_SECONDS: Long = 1234
val STATE = TransactionState.Confirmed
val IS_SHIELDING = false
const val IS_SHIELDING = false

@Suppress("LongParameterList")
fun new(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,12 @@ data class TransactionOverview internal constructor(
sentNoteCount = dbTransactionOverview.sentNoteCount,
memoCount = dbTransactionOverview.memoCount,
blockTimeEpochSeconds = dbTransactionOverview.blockTimeEpochSeconds,
transactionState = TransactionState.new(
latestBlockHeight,
dbTransactionOverview.minedHeight,
dbTransactionOverview.expiryHeight
),
transactionState =
TransactionState.new(
latestBlockHeight,
dbTransactionOverview.minedHeight,
dbTransactionOverview.expiryHeight
),
isShielding = dbTransactionOverview.isShielding
)
}
Expand Down

0 comments on commit 58fc01b

Please sign in to comment.