Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions xml/chapter3/section1/subsection1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1517,6 +1517,7 @@ function make_account(balance, p) {
function dispatch(m, q) {
if (invalid_attempts < 7) {
if (p === q) {
invalid_attempts = 0; // reset after a correct password
Comment thread
martin-henz marked this conversation as resolved.
Outdated
return m === "withdraw"
? withdraw
: m === "deposit"
Expand Down
Loading