File tree Expand file tree Collapse file tree
app/src/main/java/github/aeonbtc/ibiswallet/data/local Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -798,8 +798,8 @@ class ElectrumCache(context: Context) : SQLiteOpenHelper(
798798 // Convert WalletTxDetails to TransactionDetails
799799 val confirmationTime = if (details.confirmationHeight > 0 ) {
800800 ConfirmationTime (
801- height = details.confirmationHeight.toULong (),
802- timestamp = details.confirmationTimestamp
801+ height = details.confirmationHeight.toUInt (),
802+ timestamp = details.confirmationTimestamp.toULong()
803803 )
804804 } else null
805805 result[txid] = TransactionDetails (
@@ -841,7 +841,7 @@ class ElectrumCache(context: Context) : SQLiteOpenHelper(
841841 fee = tx.fee?.toLong(),
842842 weight = tx.weight?.toInt(),
843843 confirmationHeight = tx.confirmationTime?.height?.toInt() ? : 0 ,
844- confirmationTimestamp = tx.confirmationTime?.timestamp ? : 0 ,
844+ confirmationTimestamp = tx.confirmationTime?.timestamp?.toLong() ? : 0 ,
845845 address = tx.address,
846846 addressAmount = tx.addressAmount?.toLong(),
847847 changeAddress = tx.changeAddress,
You can’t perform that action at this time.
0 commit comments