Fix syntax

This commit is contained in:
Aleksandr Kraiz
2023-08-23 16:26:24 +04:00
parent 5c81ca55c7
commit 859cca326b
2 changed files with 3 additions and 3 deletions

View File

@@ -74,14 +74,14 @@ export default class Bridge {
});
}
makeAtomicSwap = (
makeAtomicSwap(
walletAddress: string,
networkFrom: SupportedChainId,
networkTo: SupportedChainId,
amount: string,
asset: string,
env?: string | undefined,
) => {
) {
const secret = generateSecret();
const secretHash = ethers.utils.keccak256(secret);
const lockExpiration = Date.now() + SECONDS_IN_DAY * EXPIRATION_DAYS * 1000;