pyth2wormhole: Fix attestation validation bug
commit-id:567942d7
This commit is contained in:
parent
baec96654e
commit
972939ee31
|
@ -149,6 +149,7 @@ pub fn attest(ctx: &ExecutionContext, accs: &mut Attest, data: AttestData) -> So
|
|||
"Wormhole program account mismatch (expected {:?}, got {:?})",
|
||||
accs.config.wh_prog, accs.wh_prog.key
|
||||
));
|
||||
return Err(ProgramError::InvalidAccountData.into());
|
||||
}
|
||||
|
||||
// Make the specified prices iterable
|
||||
|
|
Loading…
Reference in New Issue