Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/kobigurk/go-ethereum int…
Browse files Browse the repository at this point in the history
…o kobigurk-develop

Conflicts:
	rpc/api.go
  • Loading branch information
tgerring committed Mar 28, 2015
2 parents b9ca5ee + 47af2f0 commit 779a51c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rpc/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err
return err
}

*reply = api.xethAtStateNum(args.BlockNumber).TxCountAt(args.Address)
count := api.xethAtStateNum(args.BlockNumber).TxCountAt(args.Address)
*reply = common.ToHex(big.NewInt(int64(count)).Bytes())
case "eth_getBlockTransactionCountByHash":
args := new(GetBlockByHashArgs)
if err := json.Unmarshal(req.Params, &args); err != nil {
Expand Down

0 comments on commit 779a51c

Please sign in to comment.