Updated on 2026-08-14
This commit is contained in:
parent
e9801d4e47
commit
669fd6dd32
4 changed files with 4 additions and 4 deletions
|
|
@ -363,7 +363,7 @@ class VisaCardActivationTask @AssistedInject constructor(
|
|||
signature = response.signature,
|
||||
hash = dataToSign.hashToSign.hexToBytes(),
|
||||
publicKey = derivedPublicKey.publicKey.toDecompressedPublicKey(),
|
||||
).asRSVLegacyEVM().toHexString()
|
||||
).asRSVLegacyEVM().toHexString().lowercase()
|
||||
|
||||
val signedActivationData = dataToSign.sign(
|
||||
rootOTP = otp.rootOTP.toHexString(),
|
||||
|
|
|
|||
|
|
@ -181,7 +181,7 @@ class VisaCustomerWalletApproveTask(
|
|||
hash = hashToSign,
|
||||
publicKey = extendedPublicKey?.publicKey?.toDecompressedPublicKey()
|
||||
?: targetWalletPublicKey.toDecompressedPublicKey(),
|
||||
).asRSVLegacyEVM().toHexString()
|
||||
).asRSVLegacyEVM().toHexString().lowercase()
|
||||
|
||||
scanCard(
|
||||
session = session,
|
||||
|
|
|
|||
|
|
@ -393,7 +393,7 @@ class WalletConnectSdkHelper {
|
|||
signature = signedHash,
|
||||
hash = hashToSign,
|
||||
publicKey = wallet.publicKey.blockchainKey.toDecompressedPublicKey(),
|
||||
).asRSVLegacyEVM().toHexString()
|
||||
).asRSVLegacyEVM().toHexString().lowercase() // use lowercase because some dapps cant handle UPPERCASE
|
||||
}
|
||||
}
|
||||
is CompletionResult.Failure -> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue