We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8910da commit ebf1349Copy full SHA for ebf1349
1 file changed
1-Identities-and-Names/identity-register.mjs
@@ -25,5 +25,13 @@ try {
25
26
console.log('Identity registered!\nIdentity ID:', result.identity.id.toString());
27
} catch (e) {
28
- console.error('Something went wrong:\n', e.message);
+ // Known SDK bug: proof verification fails but the identity was created
29
+ // Issue: https://github.com/dashpay/platform/issues/3095
30
+ // Extract the real identity ID from the error message
31
+ const match = e.message?.match(/proof returned identity (\w+) but/);
32
+ if (match) {
33
+ console.log('Identity registered!\nIdentity ID:', match[1]);
34
+ } else {
35
+ console.error('Something went wrong:\n', e.message);
36
+ }
37
}
0 commit comments