From eac662976970e8f19ee92c63d572358ba6f9391c Mon Sep 17 00:00:00 2001 From: Onno Visser <23527729+onnovisser@users.noreply.github.com> Date: Wed, 13 Sep 2023 11:34:37 +0200 Subject: [PATCH] pass create type --- centrifuge-app/src/pages/IssuerCreatePool/index.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/centrifuge-app/src/pages/IssuerCreatePool/index.tsx b/centrifuge-app/src/pages/IssuerCreatePool/index.tsx index 1a4bf95cdb..56f5f6791c 100644 --- a/centrifuge-app/src/pages/IssuerCreatePool/index.tsx +++ b/centrifuge-app/src/pages/IssuerCreatePool/index.tsx @@ -205,7 +205,10 @@ function CreatePoolForm() { const multisigAddr = adminMultisig && createKeyMulti(adminMultisig.signers, adminMultisig.threshold) console.log('adminMultisig', multisigAddr) const poolArgs = args.slice(2) as any - return combineLatest([cent.getApi(), cent.pools.createPool(poolArgs, { batch: true })]).pipe( + return combineLatest([ + cent.getApi(), + cent.pools.createPool(poolArgs, { createType: options?.createType, batch: true }), + ]).pipe( switchMap(([api, poolSubmittable]) => { const adminProxyDelegate = multisigAddr ?? address const otherMultisigSigners =