From c110a133e91b1a930a890000f9cc7367f918651d Mon Sep 17 00:00:00 2001 From: Onno Visser Date: Wed, 13 Sep 2023 11:39:32 +0200 Subject: [PATCH] Centrifuge App: Fix pool create type (#1579) --- 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 =