improve expect message

This commit is contained in:
Sergio Chouhy 2025-12-02 16:27:22 -03:00
parent dcef017f9b
commit 407c3f3c95

View File

@ -107,8 +107,7 @@ impl Program {
pub fn pinata_token() -> Self {
use crate::program_methods::PINATA_TOKEN_ELF;
Self::new(PINATA_TOKEN_ELF.to_vec())
.expect("pinata token elf is defined in risc0 build of `program_methods`")
Self::new(PINATA_TOKEN_ELF.to_vec()).expect("Piñata program must be a valid R0BF file")
}
}