Update return value to use AccountNonce

This commit is contained in:
coffeepots 2018-08-31 18:38:51 +01:00 committed by zah
parent 1427d59f27
commit e10df33864
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ proc setupEthRpc*(node: EthereumNode, chain: BaseChainDB, rpcsrv: RpcServer) =
if storage[1]:
result = storage[0]
rpcsrv.rpc("eth_getTransactionCount") do(data: EthAddressStr, quantityTag: string) -> UInt256:
rpcsrv.rpc("eth_getTransactionCount") do(data: EthAddressStr, quantityTag: string) -> AccountNonce:
## Returns the number of transactions sent from an address.
##
## data: address.