Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

require memo on exchange account #1388

Merged
merged 6 commits into from
Jul 22, 2023
Merged

Conversation

Adesojisouljay
Copy link
Collaborator

hat does this PR?

Presently transferring to exchange accounts doesn't request for memo,
This PR fixes that.

Github issue

Video/Screenshot

memoissue.mp4
exchangememofixes.mp4

// Check memo if selected is an exchange account
if (exchangeAccounts.includes(to)) {
this.stateSet({ toExchangeError: _t("transfer.memo-required") });
console.log(this.state.toExchangeError)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Adesojisouljay need to clean up logs

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logs cleaned

@@ -1218,6 +1218,7 @@
"memo-placeholder": "enter your notes here",
"memo-help": "This memo is public",
"memo-error": "Never put private keys into a memo field, it is publicly visible to everyone.",
"memo-required": "Transfer to an exchannge account must include a memo.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Adesojisouljay typo on exchange. Make it: Transfer to an exchange must have a memo.

Copy link
Member

@feruzm feruzm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@feruzm feruzm merged commit 50387e7 into development Jul 22, 2023
@feruzm feruzm deleted the feat/memo-on-exchange-transfers branch July 22, 2023 07:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants