Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
eshaan7 committed Oct 31, 2024
1 parent e02a683 commit 2d1a866
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, { primaryType: string, types: any }>),
});
});

Expand Down

0 comments on commit 2d1a866

Please sign in to comment.