We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97f890f commit 49d1f69Copy full SHA for 49d1f69
src/services/railgun/wallet.ts
@@ -161,8 +161,8 @@ function deriveEncryptionKey(address: string): string {
161
const hash = ethers.keccak256(
162
ethers.toUtf8Bytes(`liquyn_railgun_encryption_${address.toLowerCase()}`)
163
);
164
- // Use 32 bytes as hex string
165
- return hash;
+ // Remove "0x" prefix - SDK expects 64 hex chars (32 bytes)
+ return hash.slice(2);
166
}
167
168
/**
0 commit comments