WA-238 Returning promise when executing dailyLimit tx
This commit is contained in:
parent
725a9f6b13
commit
4051852eda
|
@ -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,
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue