mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-12 19:22:37 +00:00
Fix non-critical bug in config-code
Wins/losses order is messed up
This commit is contained in:
parent
013038c2ff
commit
666576682a
1 changed files with 3 additions and 1 deletions
|
@ -601,7 +601,9 @@ _ unpack_proposal(slice pstatus) inline_ref {
|
|||
voters_list = cons(voter_id, voters_list);
|
||||
}
|
||||
} until (~ f);
|
||||
var (rounds_remaining, losses, wins) = (rest~load_uint(8), rest~load_uint(8), rest~load_uint(8));
|
||||
;; Note there is a bug in config contract currently deployed in testnet2:
|
||||
;; wins and losses are messed up
|
||||
var (rounds_remaining, wins, losses) = (rest~load_uint(8), rest~load_uint(8), rest~load_uint(8));
|
||||
rest.end_parse();
|
||||
var (param_id, param_val, param_hash) = parse_config_proposal(proposal);
|
||||
return [expires, critical?, [param_id, param_val, param_hash], vset_id, voters_list, weight_remaining, rounds_remaining, losses, wins];
|
||||
|
|
Loading…
Reference in a new issue