Skip to content
Snippets Groups Projects

Fix #196 forbid empty linked account

Merged Benjamin Gallois requested to merge 196-fix-empty-linked-accounts into master

Closes #196 (closed)

I added a test for this one because it addresses the same question that arose and was answered in !213 (merged), but there is no bug:

  • Member accounts cannot have a zero balance, so transfer_all will not kill them.
  • Non-member accounts can have a zero balance, so they will be reaped. During reaping, the AccountData will be reset to default, unlinking the identity.
Edited by Benjamin Gallois

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading