Skip to content

Commit

Permalink
chore: return vaultId in create vault
Browse files Browse the repository at this point in the history
  • Loading branch information
mishuagopian committed Jan 12, 2024
1 parent 42af2d1 commit 86aae32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/contracts/UserVaultV5.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export class UserVaultV5 extends Contract<typeof userVaultABIV5> {
);

return {
vaultId,
txHash: deposits.map(({ txHash }) => txHash),
waitTxInBlock: async () => await Promise.all(
deposits.map(({ waitTxInBlock }) => waitTxInBlock())
Expand Down

0 comments on commit 86aae32

Please sign in to comment.