aboutsummaryrefslogtreecommitdiffstats
path: root/src/ark/proto.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ark/proto.js')
-rw-r--r--src/ark/proto.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ark/proto.js b/src/ark/proto.js
index a1f2fdc..b8c091d 100644
--- a/src/ark/proto.js
+++ b/src/ark/proto.js
@@ -511,6 +511,12 @@ export function decodeMailboxMessage(value) {
if (a.field === 1) msg.vtxos.push(decodeVtxo(a.value));
}
}
+ if (f.field === 4) { // RoundParticipationCompleted — wallet-recovery breadcrumb
+ msg.kind = 'roundCompleted';
+ for (const a of pbFields(f.value)) {
+ if (a.field === 2) msg.unlockHash = hex.encode(a.value);
+ }
+ }
if (f.field === 5) { // IncomingLightningPaymentMessage
msg.kind = 'lnIncoming';
for (const a of pbFields(f.value)) {