Always log sequence

Change-Id: I7847b8993f1453cc0e9943d4004a3d6bf7d3f5d7
This commit is contained in:
Hendrik Hofstadt 2021-08-03 15:00:28 +02:00
parent 361adf9920
commit 24f7780883
1 changed files with 5 additions and 2 deletions

View File

@ -14,7 +14,10 @@ use crate::{
types::ConsistencyLevel, types::ConsistencyLevel,
CHAIN_ID_SOLANA, CHAIN_ID_SOLANA,
}; };
use solana_program::sysvar::clock::Clock; use solana_program::{
msg,
sysvar::clock::Clock,
};
use solitaire::{ use solitaire::{
processors::seeded::Seeded, processors::seeded::Seeded,
trace, trace,
@ -120,7 +123,7 @@ pub fn post_message(
.create(&(&*accs).into(), ctx, accs.payer.key, Exempt)?; .create(&(&*accs).into(), ctx, accs.payer.key, Exempt)?;
} }
trace!("Sequence: {}", accs.sequence.sequence); msg!("Sequence: {}", accs.sequence.sequence);
// Initialize transfer // Initialize transfer
trace!("Setting Message Details"); trace!("Setting Message Details");