Skip to content

Commit 8ff4760

Browse files
committed
Use explicit rollover fee result type
1 parent 0823295 commit 8ff4760

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

programs/system/src/context.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,11 @@ impl<'info> SystemContext<'info> {
147147
}
148148
}
149149

150-
pub fn set_rollover_fee(&mut self, ix_data_index: u8, fee: u64) -> Result<()> {
150+
pub fn set_rollover_fee(
151+
&mut self,
152+
ix_data_index: u8,
153+
fee: u64,
154+
) -> std::result::Result<(), ProgramError> {
151155
let payment = self
152156
.rollover_fee_payments
153157
.iter_mut()

0 commit comments

Comments
 (0)