Lesson 15: account from useMoralis and seller address different #3289
Unanswered
konstantinabl
asked this question in
Q&A
Replies: 2 comments 3 replies
-
@konstantinabl seller address is basically coming from the moralis database and the account that you are using in metamask. see what address is in your database. |
Beta Was this translation helpful? Give feedback.
2 replies
-
i have the same issue here. i find one solution in moralis forum:https://forum.moralis.io/t/user-addresses-are-lowercase/1601 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys,
I have the following problem:
In my NFTBox.js in the nextjs-nft-marketplace I make a check if the NFT is owned by the user
const isOwnedByUser = seller == account || seller === undefined
And although seller and account should be different they are not. But the only difference is that in one address one letter is upper case and in the other it is lower case.
Printed addresses
0x1d5F0509cFd312aB892192209dCDb04B24967789
0x1d5f0509cfd312ab892192209dcdb04b24967789
I have no idea where this issue is coming from. May you help?
Beta Was this translation helpful? Give feedback.
All reactions