Skip to content

Commit 5a86225

Browse files
Update programs/anchor/escrow/src/instructions/make_offer.rs
Co-authored-by: ananas-block <58553958+ananas-block@users.noreply.github.com>
1 parent 6a7061c commit 5a86225

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

programs/anchor/escrow/src/instructions/make_offer.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,9 @@ pub fn send_offered_tokens_to_vault<'info>(
120120
Some(ctx.accounts.spl_interface_pda_a.to_account_info()),
121121
Some(params.spl_interface_bump_a),
122122
)
123-
.map_err(|e| anchor_lang::prelude::ProgramError::from(e))?;
123+
?;
124124

125125
cpi.invoke()
126-
.map_err(|e| anchor_lang::prelude::ProgramError::from(e).into())
127126
}
128127

129128
pub fn save_offer<'info>(

0 commit comments

Comments
 (0)