Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
hkey0 committed Nov 15, 2024
1 parent d6982ba commit 3e8b989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/activityUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export async function generateTxObjectForDetails(walletClient: any, txHash: stri
export async function getNonce(walletClient: any, transactionHash: string, bridgeProgram: string): Promise<PublicKey | null> {
try {
const txHashLowU64 = low64(BigInt(transactionHash))
const ethDepositNonceBN = new anchor.BN(txHashLowU64, 10);
const ethDepositNonceBN = new anchor.BN(txHashLowU64.toString(), 10);
const programPublicKey = new PublicKey(bridgeProgram);

const [depositReceiptPda, _] = PublicKey.findProgramAddressSync(
Expand Down

0 comments on commit 3e8b989

Please sign in to comment.