File tree Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -1779,7 +1779,7 @@ where
1779
1779
}
1780
1780
} else {
1781
1781
Ok ( ValidTransaction {
1782
- priority : priority ,
1782
+ priority,
1783
1783
..Default :: default ( )
1784
1784
} )
1785
1785
}
Original file line number Diff line number Diff line change @@ -748,11 +748,7 @@ impl<T: Config> Pallet<T> {
748
748
TotalStake :: < T > :: mutate ( |total| {
749
749
* total = total. saturating_add ( actual_fee) ;
750
750
} ) ;
751
- LastColdkeyHotkeyStakeBlock :: < T > :: insert (
752
- & coldkey,
753
- & hotkey,
754
- Self :: get_current_block_as_u64 ( ) ,
755
- ) ;
751
+ LastColdkeyHotkeyStakeBlock :: < T > :: insert ( coldkey, hotkey, Self :: get_current_block_as_u64 ( ) ) ;
756
752
757
753
// Step 5. Deposit and log the unstaking event.
758
754
Self :: deposit_event ( Event :: StakeRemoved (
@@ -812,11 +808,7 @@ impl<T: Config> Pallet<T> {
812
808
TotalStake :: < T > :: mutate ( |total| {
813
809
* total = total. saturating_add ( actual_fee) ;
814
810
} ) ;
815
- LastColdkeyHotkeyStakeBlock :: < T > :: insert (
816
- & coldkey,
817
- & hotkey,
818
- Self :: get_current_block_as_u64 ( ) ,
819
- ) ;
811
+ LastColdkeyHotkeyStakeBlock :: < T > :: insert ( coldkey, hotkey, Self :: get_current_block_as_u64 ( ) ) ;
820
812
821
813
// Step 6. Deposit and log the staking event.
822
814
Self :: deposit_event ( Event :: StakeAdded (
You can’t perform that action at this time.
0 commit comments