diff --git a/src/anchor_in_depth/PDAs.md b/src/anchor_in_depth/PDAs.md index 1eaf959..d19efbc 100644 --- a/src/anchor_in_depth/PDAs.md +++ b/src/anchor_in_depth/PDAs.md @@ -271,7 +271,8 @@ mod puppet_master { puppet::cpi::set_data( ctx.accounts.set_data_ctx().with_signer(&[&[bump][..]]), data, - ) + )?; + Ok(()) } }