There was an error while loading. Please reload this page.
1 parent 9c0fd57 commit bfe5ff0Copy full SHA for bfe5ff0
1 file changed
lib/core/swaps/data/services/swap_watcher.dart
@@ -74,9 +74,17 @@ class SwapWatcherService {
74
ChainSwap(:final refundTxid) => refundTxid,
75
_ => null,
76
};
77
+ final refundAddr = switch (s) {
78
+ LnSendSwap(:final refundAddress) => refundAddress,
79
+ ChainSwap(:final refundAddress) => refundAddress,
80
+ _ => null,
81
+ };
82
log.info(
83
'[SwapCensus] ${s.id} ${s.type.name} ${s.status.name}'
- ' send=${send ?? '-'} recv=${recv ?? '-'} refund=${refund ?? '-'}',
84
+ ' keyIndex=${s.keyIndex}'
85
+ ' send=${send ?? '-'} recv=${recv ?? '-'} refund=${refund ?? '-'}'
86
+ ' refundAddr=${refundAddr ?? '-'}'
87
+ ' completedAt=${s.completionTime?.toIso8601String() ?? '-'}',
88
);
89
}
90
} catch (e) {
0 commit comments