Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Bitkit/ViewModels/WalletViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class WalletViewModel: ObservableObject {
@Published var availableUtxos: [SpendableUtxo] = []
@Published var isMaxAmountSend: Bool = false

// LNURL withdraw flow
/// LNURL withdraw flow
@Published var lnurlWithdrawAmount: UInt64?

// For bolt11 details and bip21 params
Expand Down Expand Up @@ -142,7 +142,8 @@ class WalletViewModel: ObservableObject {
let (remoteMigration, allRetrieved) = await fetchOrphanedChannelMonitorsIfNeeded(walletIndex: walletIndex)
if let remoteMigration {
channelMigration = ChannelDataMigration(
channelManager: [UInt8](remoteMigration.channelManager),
// don't overwrite channel manager, we only need the monitors for the sweep
channelManager: nil,
channelMonitors: remoteMigration.channelMonitors.map { [UInt8]($0) }
)
MigrationsService.shared.pendingChannelMigration = nil
Expand Down
Loading