Skip to content

Commit df09aff

Browse files
authored
fix wallet:which --displayName output (#5272)
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.
1 parent 0aab27e commit df09aff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ironfish/src/rpc/routes/wallet/getAccounts.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export type GetAccountsResponse = { accounts: string[] }
1414
export const GetAccountsRequestSchema: yup.ObjectSchema<GetAccountsRequest> = yup
1515
.object({
1616
default: yup.boolean().optional(),
17+
displayName: yup.boolean().optional(),
1718
})
1819
.notRequired()
1920
.default({})

0 commit comments

Comments
 (0)