Delete dead code (#5948)
This commit is contained in:
parent
6c4e656795
commit
365fe70f77
|
@ -35,14 +35,6 @@ impl std::fmt::Display for BudgetError {
|
||||||
}
|
}
|
||||||
impl std::error::Error for BudgetError {}
|
impl std::error::Error for BudgetError {}
|
||||||
|
|
||||||
/// A smart contract.
|
|
||||||
#[derive(Serialize, Deserialize, Debug, PartialEq, Eq, Clone)]
|
|
||||||
pub struct Contract {
|
|
||||||
/// The number of lamports allocated to the `BudgetExpr` and any transaction fees.
|
|
||||||
pub lamports: u64,
|
|
||||||
pub budget_expr: BudgetExpr,
|
|
||||||
}
|
|
||||||
|
|
||||||
/// An instruction to progress the smart contract.
|
/// An instruction to progress the smart contract.
|
||||||
#[derive(Serialize, Deserialize, Debug, PartialEq, Eq, Clone)]
|
#[derive(Serialize, Deserialize, Debug, PartialEq, Eq, Clone)]
|
||||||
pub enum BudgetInstruction {
|
pub enum BudgetInstruction {
|
||||||
|
|
Loading…
Reference in New Issue