Skip to content

Commit

Permalink
Fix umbrella
Browse files Browse the repository at this point in the history
  • Loading branch information
ndkazu committed Sep 20, 2024
1 parent a4edbac commit 635526e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions substrate/frame/distribution/src/functions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@ impl<T: Config> Pallet<T> {
let check = Self::pot_check(project.amount);
if check.is_ok() {
// Create a new Spend
let new_spend = SpendInfo::<T>::new(&project);
let new_spend = SpendInfo::<T>::new(&project);
match T::NativeBalance::hold(
&HoldReason::FundsReserved.into(),
&pot,
project.amount,
){
) {
Ok(_x) => println!("Hold operation succeded!"),
Err(e) => println!("{:?}", e),
};
Expand Down

0 comments on commit 635526e

Please sign in to comment.