-
Notifications
You must be signed in to change notification settings - Fork 872
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not understand the logic of transfering msg.value #42
Comments
I think that's wrong when i buy nft the ethereum value dissapear into thin air becasue of seller address becoming address(0) but after moving |
Ok thank you !
So I think that |
i have no clue about that i am learning myself and playing with it using truffle >.> |
Hi,
I'm trying to learn solidity. I think I misunderstood something.
Here you said that :
polygon-ethereum-nextjs-marketplace/contracts/NFTMarketplace.sol
Line 113 in c5a3526
but just before you said that the seller is address(0) :
polygon-ethereum-nextjs-marketplace/contracts/NFTMarketplace.sol
Line 109 in c5a3526
So what I understand is that instead of transfering the msg.value to the old owner, you transfer it to address(0). Do you want to do that or I didn't understand it correctly ?
Thank you,
Inaki
The text was updated successfully, but these errors were encountered: