Skip to content

Commit

Permalink
fix wallet:which --displayName output (#5272)
Browse files Browse the repository at this point in the history
Previously, the RPC wasn't receiving this parameter properly due to it being
left out of the yup schema. Add it to the schema so that the flag is properly
passed through.
  • Loading branch information
mat-if committed Aug 14, 2024
1 parent 0aab27e commit df09aff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ironfish/src/rpc/routes/wallet/getAccounts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export type GetAccountsResponse = { accounts: string[] }
export const GetAccountsRequestSchema: yup.ObjectSchema<GetAccountsRequest> = yup
.object({
default: yup.boolean().optional(),
displayName: yup.boolean().optional(),
})
.notRequired()
.default({})
Expand Down

0 comments on commit df09aff

Please sign in to comment.