Skip to content

Commit 27e04e0

Browse files
committed
fix: addToHinkalStore before calling getRecipientInfo
1 parent aef7cb0 commit 27e04e0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/payment-processor/test/payment/erc-20-private-payment-hinkal.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,9 @@ describe('ERC-20 Private Payments With Hinkal', () => {
149149
provider = new ethers.providers.JsonRpcProvider(RPC_URL);
150150
payerWallet = new Wallet(payerPrivateKey, provider);
151151
payeeWallet = new Wallet(payeePrivateKey, provider);
152-
payeeShieldedAddress = hinkalStore[payeeWallet.address].getRecipientInfo();
153152
await addToHinkalStore(payerWallet);
153+
await addToHinkalStore(payeeWallet);
154+
payeeShieldedAddress = hinkalStore[payeeWallet.address].getRecipientInfo();
154155
});
155156
afterAll(async () => {
156157
for (const key in hinkalStore) {

0 commit comments

Comments
 (0)