-
Notifications
You must be signed in to change notification settings - Fork 15
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
fix: account token ownership limit when transfer #1080
Conversation
runtime/tests/src/tests.rs
Outdated
@@ -2405,7 +2405,7 @@ fn owned_tokens_bound_neg() { | |||
|
|||
let origin1 = RuntimeOrigin::signed(1); | |||
|
|||
for _ in 1..=MAX_TOKEN_OWNERSHIP { | |||
for _ in 1..MAX_TOKEN_OWNERSHIP { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0..MAX_TOKEN_OWNERSHIP
Это же MAX(tokens.len()) семантически, т.е тут всё верно изначально было
|
No description provided.