mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-14 07:26:51 +00:00
Merge pull request #60 from miralandlabs/master
fix introspect_transaction current position
This commit is contained in:
@@ -199,6 +199,7 @@ fn introspect_transaction(msg: &[u8]) -> Result<bool, SanitizeError> {
|
||||
if program_id.ne(&ore_api::ID) {
|
||||
return Ok(false);
|
||||
}
|
||||
c += 2;
|
||||
if let Ok(ix) = OreInstruction::try_from(read_u8(&mut c, msg)?) {
|
||||
if ix.ne(&OreInstruction::Mine) {
|
||||
return Ok(false);
|
||||
|
||||
Reference in New Issue
Block a user