Skip to content

Commit 323c067

Browse files
committed
chore: solve conflicts
1 parent 20e25e9 commit 323c067

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/src/main/java/to/bitkit/fcm/WakeNodeWorker.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,15 +157,13 @@ class WakeNodeWorker @AssistedInject constructor(
157157
self.bestAttemptContent?.title = content
158158
val cjitEntry = channel.let { blocktankRepo.getCjitEntry(it) }
159159
if (cjitEntry != null) {
160-
val amount = channel.amountOnClose.toLong()
161-
162160
// Save for UI to pick up
163161
NewTransactionSheetDetails.save(
164162
appContext,
165163
NewTransactionSheetDetails(
166164
type = NewTransactionSheetType.LIGHTNING,
167165
direction = NewTransactionSheetDirection.RECEIVED,
168-
sats = sats,
166+
sats = sats.toLong(),
169167
)
170168
)
171169
activityRepo.insertActivityFromCjit(cjitEntry = cjitEntry, channel = channel)

0 commit comments

Comments
 (0)