We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a6e0e6 commit 040169aCopy full SHA for 040169a
governance/xc_admin/packages/xc_admin_frontend/components/tabs/General.tsx
@@ -240,6 +240,14 @@ const General = () => {
240
}
241
})
242
243
+ // check that no price account has more than 32 publishers
244
+ Object.keys(jsonParsed).forEach((symbol) => {
245
+ if (jsonParsed[symbol].priceAccounts[0].publishers.length > 32) {
246
+ toast.error(`A price account can't have more than 32 publishers.`)
247
+ isValid = false
248
+ }
249
+ })
250
+
251
return isValid
252
253
0 commit comments