Correct spelling

This commit is contained in:
Michael Vines
2018-09-10 09:29:01 -07:00
parent a89b611e9e
commit 9e6d3bf532

View File

@ -62,7 +62,7 @@ pub struct Vote {
/// 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 Instruction { pub enum Instruction {
/// Declare and instanstansiate `Contract`. /// Declare and instantiate `Contract`.
NewContract(Contract), NewContract(Contract),
/// Tell a payment plan acknowledge the given `DateTime` has past. /// Tell a payment plan acknowledge the given `DateTime` has past.
@ -101,7 +101,7 @@ pub struct Transaction {
impl Transaction { impl Transaction {
/// Create a signed transaction from the given `Instruction`. /// Create a signed transaction from the given `Instruction`.
/// * `from_keypair` - The key used to sign the transcation. This key is stored as keys[0] /// * `from_keypair` - The key used to sign the transaction. This key is stored as keys[0]
/// * `transaction_keys` - The keys for the transaction. These are the contract state /// * `transaction_keys` - The keys for the transaction. These are the contract state
/// instances or token recipient keys. /// instances or token recipient keys.
/// * `userdata` - The input data that the contract will execute with /// * `userdata` - The input data that the contract will execute with