mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-19 02:55:15 +00:00
fix(wallet): cannot sing tx sent from imported key pair if the profile is migrated to keycard
fixes: #16901
This commit is contained in:
parent
9fcaaaa94c
commit
017bae3a51
@ -269,7 +269,9 @@ method prepareSignaturesForTransactions*(self:Module, txForSigning: RouterTransa
|
||||
self.tmpSendTransactionDetails.resolvedSignatures[h] = ("", "", "")
|
||||
self.signOnKeycard()
|
||||
else:
|
||||
let finalPassword = hashPassword(self.tmpSendTransactionDetails.password)
|
||||
var finalPassword = self.tmpSendTransactionDetails.password
|
||||
if not singletonInstance.userProfile.getIsKeycardUser():
|
||||
finalPassword = hashPassword(self.tmpSendTransactionDetails.password)
|
||||
for h in txForSigning.signingDetails.hashes:
|
||||
self.tmpSendTransactionDetails.resolvedSignatures[h] = ("", "", "")
|
||||
var
|
||||
|
Loading…
x
Reference in New Issue
Block a user