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

Commit

Permalink
refactor: RawTransaction
Browse files Browse the repository at this point in the history
  • Loading branch information
Eason committed Apr 14, 2020
1 parent fe1af38 commit 245e26a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions protocol/src/types/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ use crate::ProtocolResult;
#[derive(RlpFixedCodec, Clone, Debug, PartialEq, Eq)]
pub struct RawTransaction {
pub chain_id: Hash,
pub cycles_price: u64,
pub cycles_limit: u64,
pub cycles_price: u64,
pub nonce: Hash,
pub request: TransactionRequest,
pub timeout: u64,
Expand All @@ -24,8 +24,8 @@ pub struct TransactionRequest {

#[derive(RlpFixedCodec, Clone, Debug, PartialEq, Eq)]
pub struct SignedTransaction {
pub raw: RawTransaction,
pub tx_hash: Hash,
pub pubkey: Bytes,
pub raw: RawTransaction,
pub signature: Bytes,
pub tx_hash: Hash,
}

0 comments on commit 245e26a

Please sign in to comment.