git.delta.rocks / unique-network / refs/commits / c35b92370cda

difftreelog

fix weight calculation for `transfer_from` (FT)

PraetorP2023-03-30parent: #908b58f.patch.diff
in: master

1 file changed

modifiedpallets/fungible/src/common.rsdiffbeforeafterboth
90 }90 }
9191
92 fn transfer_from() -> Weight {92 fn transfer_from() -> Weight {
93 <SelfWeightOf<T>>::transfer()93 Self::transfer()
94 + <SelfWeightOf<T>>::check_allowed_raw()94 + <SelfWeightOf<T>>::check_allowed_raw()
95 + <SelfWeightOf<T>>::set_allowance_unchecked_raw()95 + <SelfWeightOf<T>>::set_allowance_unchecked_raw()
96 }96 }