Nonce: Rename instructions with VerbNoun scheme (#7775)

automerge
This commit is contained in:
Trent Nelson
2020-01-13 16:34:43 -07:00
committed by Grimes
parent c948814eae
commit 81ae44f858
4 changed files with 46 additions and 46 deletions

View File

@@ -24,7 +24,7 @@ pub fn transaction_uses_durable_nonce(tx: &Transaction) -> Option<&CompiledInstr
}
})
.filter(|maybe_ix| match limited_deserialize(&maybe_ix.data) {
Ok(SystemInstruction::NonceAdvance) => true,
Ok(SystemInstruction::AdvanceNonceAccount) => true,
_ => false,
})
}