Skip to content

Commit

Permalink
fix: endpoint should receive funds
Browse files Browse the repository at this point in the history
  • Loading branch information
bucurdavid committed Jul 29, 2024
1 parent 3419baa commit de7fa48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ pub trait LifeBondingContract:
.update(|value| *value += &payment.amount);
}

#[payable("*")]
#[endpoint(stakeRewards)]
fn stake_rewards(
&self,
Expand Down

0 comments on commit de7fa48

Please sign in to comment.