Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Commit

Permalink
doc: make the field description more clear
Browse files Browse the repository at this point in the history
  • Loading branch information
homura committed Oct 28, 2019
1 parent dd086de commit 9bba38d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/api/src/schema/epoch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub struct EpochHeader {
pub chain_id: Hash,
#[graphql(description = "Known as the block height like other blockchain")]
pub epoch_id: Uint64,
#[graphql(description = "The merkle root of the previous epoch")]
#[graphql(description = "The hash of the serialized previous epoch")]
pub pre_hash: Hash,
#[graphql(description = "A timestamp that records when the epoch was created")]
pub timestamp: Uint64,
Expand Down
2 changes: 1 addition & 1 deletion core/api/src/schema/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use crate::schema::{Address, AssetID, Balance, Bytes, Hash, Uint64};
pub enum ContractType {
// Asset contract
#[graphql(
description = "Asset contract often use for creating User Define Asset(also known as (User Define Token))"
description = "Asset contract often use for creating User Define Asset(also known as UDT(User Define Token))"
)]
Asset,
// App contract, the code in the contract is allowed to change the state world.
Expand Down

0 comments on commit 9bba38d

Please sign in to comment.