Update RPC types to use AccountNonce

This commit is contained in:
coffeepots 2018-08-31 18:39:46 +01:00 committed by zah
parent e10df33864
commit 4d0adfd514
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ type
TransactionObject* = object # A transaction object, or null when no transaction was found: TransactionObject* = object # A transaction object, or null when no transaction was found:
# Returned to user # Returned to user
hash*: Hash256 # hash of the transaction. hash*: Hash256 # hash of the transaction.
nonce*: UInt256 # the number of transactions made by the sender prior to this one. nonce*: AccountNonce # the number of transactions made by the sender prior to this one.
blockHash*: Option[Hash256] # hash of the block where this transaction was in. null when its pending. blockHash*: Option[Hash256] # hash of the block where this transaction was in. null when its pending.
blockNumber*: Option[BlockNumber] # block number where this transaction was in. null when its pending. blockNumber*: Option[BlockNumber] # block number where this transaction was in. null when its pending.
transactionIndex*: Option[int64] # integer of the transactions index position in the block. null when its pending. transactionIndex*: Option[int64] # integer of the transactions index position in the block. null when its pending.