Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
benjlevesque committed Oct 27, 2023
1 parent dfd6ddd commit 738e620
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/integration-test/test/scheduled/erc20-proxy.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ describe('ERC20 Proxy detection test-suite', () => {
expect(refreshedRequest.state).toBe('created');

// The payer declares a payment
let sentResult = await request.declareSentPayment('1', 'OK', payerIdentity);
sentResult = await new Promise((resolve) => sentResult.on('confirmed', resolve));
let requestData = await request.declareSentPayment('1', 'OK', payerIdentity);
requestData = await new Promise((resolve) => requestData.on('confirmed', resolve));
const balance = await erc20ProxyAddressedBased.getBalance({
...sentResult,
...requestData,
currency: {
network: 'private',
type: RequestLogicTypes.CURRENCY.ERC20,
Expand Down

0 comments on commit 738e620

Please sign in to comment.