diff --git a/src/system_program.rs b/src/system_program.rs index 896ac77c1d7fcf..a503ff4510e8ab 100644 --- a/src/system_program.rs +++ b/src/system_program.rs @@ -60,7 +60,10 @@ pub fn process_instruction( Err(Error::InvalidArgument)?; } if tokens > accounts[0].tokens { - info!("Insufficient tokens in account[0]"); + info!( + "Insufficient tokens in account[0] ({} > {})", + tokens, accounts[0].tokens + ); Err(Error::ResultWithNegativeTokens)?; } accounts[0].tokens -= tokens;