WA-238 Returning promise when executing dailyLimit tx

This commit is contained in:
apanizo 2018-05-14 10:42:08 +02:00
parent 725a9f6b13
commit 4051852eda
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ const withdrawn = async (values: Object, safeAddress: string, userAccount: strin
const destination = values[DESTINATION_PARAM]
const value = web3.toWei(values[VALUE_PARAM], 'ether')
await dailyLimitModule.executeDailyLimit(
return dailyLimitModule.executeDailyLimit(
destination,
value,
0,

View File

@ -83,5 +83,5 @@ export const executeWithdrawnOn = async (safeAddress: string, value: number) =>
[VALUE_PARAM]: `${value}`,
}
await withdrawn(values, safeAddress, userAddress)
return withdrawn(values, safeAddress, userAddress)
}