Skip to content
This repository was archived by the owner on Jul 6, 2022. It is now read-only.

Commit 6a1cd35

Browse files
committed
fix: 🐛 fix Vesting Escrow wallet example
1 parent 1766780 commit 6a1cd35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/vestingEscrowWallet.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ window.addEventListener('load', async () => {
2828
const tokenName = prompt('Token Name', '');
2929

3030
// Double check available
31-
await polymathAPI.securityTokenRegistry.isTickerAvailable({
31+
await polymathAPI.securityTokenRegistry.tickerAvailable({
3232
ticker: ticker!,
3333
});
3434

@@ -154,7 +154,7 @@ window.addEventListener('load', async () => {
154154
// Add Template
155155
await VEW.addTemplate({
156156
name: TEMPLATE_NAME,
157-
numberOfTokens,
157+
numberOfTokens: new BigNumber(numberOfTokens),
158158
duration: 100,
159159
frequency: 10,
160160
});

0 commit comments

Comments
 (0)