mirror of
https://github.com/status-im/status-keycard-go.git
synced 2025-01-18 10:22:51 +00:00
fixed master key export
This commit is contained in:
parent
7ffa0cc32d
commit
95e1c1249a
@ -371,7 +371,7 @@ func (f *KeycardFlow) storeMetadata(kc *keycardContext) error {
|
||||
}
|
||||
|
||||
func (f *KeycardFlow) exportKey(kc *keycardContext, path string, onlyPublic bool) (*KeyPair, error) {
|
||||
keyPair, err := kc.exportKey(true, false, onlyPublic, path)
|
||||
keyPair, err := kc.exportKey(true, path == masterPath, onlyPublic, path)
|
||||
|
||||
if isSCardError(err) {
|
||||
return nil, restartErr()
|
||||
|
Loading…
x
Reference in New Issue
Block a user