diff --git a/src/index.ts b/src/index.ts index df34b4e..0e27265 100644 --- a/src/index.ts +++ b/src/index.ts @@ -162,16 +162,8 @@ const main = async () => { const transitionToSchema = mru.getStfSchemaMap(); res.send({ signingInstructions: "signTypedData(domain, schema.types, inputs)", - domain: stackrConfig.domain, + domain: mru.config.domain, transitionToSchema, - // TODO: remove - schemas: Object.entries(transitionToSchema).reduce((acc, [primaryType, types]) => { - acc[primaryType] = { - primaryType, - types, - }; - return acc; - }, {} as Record), }); });