Skip to content

Commit

Permalink
fix: handle exclusive payment to escrow (#1711)
Browse files Browse the repository at this point in the history
  • Loading branch information
abdulhakim2902 authored Feb 12, 2023
1 parent 63509a5 commit d1e4908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/use-wallet-hook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export const useWallet = () => {

try {
const from = provider.accountId;
const to = walletAddress;
const to = walletAddress ?? accountReference;
const txHash = await provider.payUnlockableContent(
walletAddress,
instanceId,
Expand Down

0 comments on commit d1e4908

Please sign in to comment.