Skip to content

Commit

Permalink
fix: coerce nonce in Safe
Browse files Browse the repository at this point in the history
  • Loading branch information
mortimr committed Feb 4, 2025
1 parent e9b15b9 commit c06cc12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const SafeSchema = AddressSchema.extend({
owners: z.array(ethAddressSchema).optional(),
delegates: z.array(DelegateSchema).optional(),
threshold: z.number().optional(),
nonce: z.number().optional(),
nonce: z.coerce.number().optional(),
version: z.string().optional()
});

Expand Down

0 comments on commit c06cc12

Please sign in to comment.