Skip to content

Commit

Permalink
fix(icp): use correct idl for ledger in case of an agent
Browse files Browse the repository at this point in the history
  • Loading branch information
imsk17 committed Oct 3, 2024
1 parent 504ab2c commit 96d10c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers/icp/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export async function createLedgerActor(
host: undefined,
});
}
return Actor.createActor<LedgerService>(BridgeIdl, {
return Actor.createActor<LedgerService>(LedgerIDL, {
canisterId: contract,
agent,
});
Expand Down

0 comments on commit 96d10c2

Please sign in to comment.