We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61a9322 commit 992d26dCopy full SHA for 992d26d
backend/coins/btc/handlers/handlers.go
@@ -16,6 +16,7 @@
16
package handlers
17
18
import (
19
+ "context"
20
"encoding/json"
21
"fmt"
22
"math/big"
@@ -542,6 +543,10 @@ func (handlers *Handlers) postVerifyExtendedPublicKey(r *http.Request) (interfac
542
543
}, nil
544
}
545
canVerify, err := btcAccount.VerifyExtendedPublicKey(input.SigningConfigIndex)
546
+ // User canceled keystore connect prompt - no special action or message needed in the frontend.
547
+ if errp.Cause(err) == context.Canceled {
548
+ return result{Success: true}, nil
549
+ }
550
if err != nil {
551
return result{Success: false, ErrorMessage: err.Error()}, nil
552
0 commit comments