Fix for pausable-function flashloan test

This commit is contained in:
David Truong 2020-10-29 15:53:38 +01:00 committed by David Truong
parent a517d5d11d
commit d373b9beb8

View File

@ -186,7 +186,7 @@ makeSuite('Pausable Pool', (testEnv: TestEnv) => {
await expect(
pool
.connect(caller.signer)
.flashLoan(_mockFlashLoanReceiver.address, [weth.address], [flashAmount], 1, '0x10', '0')
.flashLoan(_mockFlashLoanReceiver.address, [weth.address], [flashAmount], 1, caller.address, '0x10', '0')
).revertedWith(IS_PAUSED);
// Unpause pool