Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit d650e7f

Browse files
authored
type-length-value: Revert specifying solana program crate path (#7212)
#### Problem While trying to publish type-length-value, there's an issue because its error definition requires new changes to spl_program_error. #### Summary of changes There are a lot of packages to publish for the new token-2022, so to keep things simple, revert the usage of the new macro.
1 parent 8250d12 commit d650e7f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

libraries/type-length-value/src/error.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33
use spl_program_error::*;
44

55
/// Errors that may be returned by the Token program.
6-
#[spl_program_error(
7-
hash_error_code_start = 1_202_666_432,
8-
solana_program = "solana_program"
9-
)]
6+
#[spl_program_error(hash_error_code_start = 1_202_666_432)]
107
pub enum TlvError {
118
/// Type not found in TLV data
129
#[error("Type not found in TLV data")]

0 commit comments

Comments
 (0)