Always log sequence
Change-Id: I0fe6e2f0f564f719b6207067b7824e395e91a65c
This commit is contained in:
parent
2f8a73fdda
commit
24e5406e84
|
@ -57,8 +57,7 @@ pub struct PostMessage<'b> {
|
|||
pub clock: Sysvar<'b, Clock>,
|
||||
}
|
||||
|
||||
impl<'b> InstructionContext<'b> for PostMessage<'b> {
|
||||
}
|
||||
impl<'b> InstructionContext<'b> for PostMessage<'b> {}
|
||||
|
||||
#[derive(BorshDeserialize, BorshSerialize)]
|
||||
pub struct PostMessageData {
|
||||
|
@ -111,6 +110,9 @@ pub fn post_message(
|
|||
.create(&(&*accs).into(), ctx, accs.payer.key, Exempt)?;
|
||||
}
|
||||
|
||||
// DO NOT REMOVE - CRITICAL OUTPUT
|
||||
msg!("Sequence: {}", accs.sequence.sequence);
|
||||
|
||||
// Initialize transfer
|
||||
trace!("Setting Message Details");
|
||||
accs.message.submission_time = accs.clock.unix_timestamp as u32;
|
||||
|
|
Loading…
Reference in New Issue