File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
governance/xc_admin/packages/xc_admin_frontend/components/tabs Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -175,6 +175,10 @@ const General = () => {
175175 // if symbol is not in existing symbols, create new entry
176176 changes [ symbol ] = { new : { } }
177177 changes [ symbol ] . new = { ...fileDataParsed [ symbol ] }
178+ changes [ symbol ] . new . metadata = {
179+ ...changes [ symbol ] . new . metadata ,
180+ symbol,
181+ }
178182 // these fields are generated deterministically and should not be updated
179183 delete changes [ symbol ] . new . address
180184 delete changes [ symbol ] . new . priceAccounts [ 0 ] . address
@@ -276,7 +280,7 @@ const General = () => {
276280 // create add product account instruction
277281 instructions . push (
278282 await pythProgramClient . methods
279- . addProduct ( { ...newChanges . metadata , symbol : symbol } )
283+ . addProduct ( { ...newChanges . metadata } )
280284 . accounts ( {
281285 fundingAccount,
282286 tailMappingAccount : rawConfig . mappingAccounts [ 0 ] . address ,
You can’t perform that action at this time.
0 commit comments