medium10 pts · first answer countssoliditystorage
An update that does not stick
Why does this function not mark the order as paid?
function markPaid(uint256 id) external {
Order memory o = orders[id];
o.paid = true;
}Discussion 0
Join free to post in the discussion.
Related questions
- storage, memory, calldataBlockchain Developer
- Why emit eventsBlockchain Developer
- What msg.sender isBlockchain Developer
- Wei and etherBlockchain Developer
- view vs pureBlockchain Developer
- Sending ETH to a functionBlockchain Developer
- receive vs fallbackBlockchain Developer
- Reading a missing mapping keyBlockchain Developer