Skip to content

Commit

Permalink
* add file extension
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethella committed Jul 7, 2023
1 parent e6a70c7 commit 1370ebd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils/ec-recover.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { keccak256 } from 'ethereum-cryptography/keccak';
import { ecdsaRecover, publicKeyConvert } from 'ethereum-cryptography/secp256k1-compat';
import { utf8ToBytes, bytesToHex, hexToBytes } from 'ethereum-cryptography/utils';
import { keccak256 } from 'ethereum-cryptography/keccak.js';
import { ecdsaRecover, publicKeyConvert } from 'ethereum-cryptography/secp256k1-compat.js';
import { utf8ToBytes, bytesToHex, hexToBytes } from 'ethereum-cryptography/utils.js';

function hashPersonalMessage(message: Uint8Array): Uint8Array {
const prefix = utf8ToBytes(`\u0019Ethereum Signed Message:\n${message.length}`);
Expand Down

0 comments on commit 1370ebd

Please sign in to comment.