@@ -1947,7 +1947,7 @@ where
1947
1947
max_amount,
1948
1948
* allow_partial,
1949
1949
) ,
1950
- Self :: get_priority_vanilla ( ) ,
1950
+ Self :: get_priority_staking ( who , hotkey ) ,
1951
1951
)
1952
1952
}
1953
1953
Some ( Call :: remove_stake {
@@ -1988,7 +1988,7 @@ where
1988
1988
max_amount,
1989
1989
* allow_partial,
1990
1990
) ,
1991
- Self :: get_priority_vanilla ( ) ,
1991
+ Self :: get_priority_staking ( who , hotkey ) ,
1992
1992
)
1993
1993
}
1994
1994
Some ( Call :: move_stake {
@@ -2012,7 +2012,7 @@ where
2012
2012
None ,
2013
2013
false ,
2014
2014
) ,
2015
- Self :: get_priority_vanilla ( ) ,
2015
+ Self :: get_priority_staking ( who , origin_hotkey ) ,
2016
2016
)
2017
2017
}
2018
2018
Some ( Call :: transfer_stake {
@@ -2036,7 +2036,7 @@ where
2036
2036
None ,
2037
2037
true ,
2038
2038
) ,
2039
- Self :: get_priority_vanilla ( ) ,
2039
+ Self :: get_priority_staking ( who , hotkey ) ,
2040
2040
)
2041
2041
}
2042
2042
Some ( Call :: swap_stake {
@@ -2059,7 +2059,7 @@ where
2059
2059
None ,
2060
2060
false ,
2061
2061
) ,
2062
- Self :: get_priority_vanilla ( ) ,
2062
+ Self :: get_priority_staking ( who , hotkey ) ,
2063
2063
)
2064
2064
}
2065
2065
Some ( Call :: swap_stake_limit {
@@ -2091,7 +2091,7 @@ where
2091
2091
Some ( * allow_partial) ,
2092
2092
false ,
2093
2093
) ,
2094
- Self :: get_priority_vanilla ( ) ,
2094
+ Self :: get_priority_staking ( who , hotkey ) ,
2095
2095
)
2096
2096
}
2097
2097
Some ( Call :: register { netuid, .. } | Call :: burned_register { netuid, .. } ) => {
0 commit comments