Skip to content

Commit

Permalink
fix: rpc send transfer params network validation, closes #5284
Browse files Browse the repository at this point in the history
  • Loading branch information
alter-eggo committed Apr 22, 2024
1 parent 51cf2c0 commit a6f774c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/rpc/methods/send-transfer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const rpcSendTransferParamsSchemaLegacy = yup.object().shape({

export const rpcSendTransferParamsSchema = yup.object().shape({
account: accountSchema,
network: yup.string().required().oneOf(Object.values(WalletDefaultNetworkConfigurationIds)),
network: yup.string().oneOf(Object.values(WalletDefaultNetworkConfigurationIds)),
recipients: yup
.array()
.required()
Expand Down

0 comments on commit a6f774c

Please sign in to comment.