Skip to content

Commit

Permalink
Address review items.
Browse files Browse the repository at this point in the history
  • Loading branch information
davecgh committed Feb 25, 2015
1 parent ec0b7a8 commit 2e1a7b1
Show file tree
Hide file tree
Showing 3 changed files with 153 additions and 214 deletions.
4 changes: 2 additions & 2 deletions btcjson/v2/btcjson/chainsvrcmds.go
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ func NewGetRawTransactionCmd(txHash string, verbose *int) *GetRawTransactionCmd
// GetTxOutCmd defines the gettxout JSON-RPC command.
type GetTxOutCmd struct {
Txid string
Vout int
Vout uint32
IncludeMempool *bool `jsonrpcdefault:"true"`
}

Expand All @@ -426,7 +426,7 @@ type GetTxOutCmd struct {
//
// The parameters which are pointers indicate they are optional. Passing nil
// for optional parameters will use the default value.
func NewGetTxOutCmd(txHash string, vout int, includeMempool *bool) *GetTxOutCmd {
func NewGetTxOutCmd(txHash string, vout uint32, includeMempool *bool) *GetTxOutCmd {
return &GetTxOutCmd{
Txid: txHash,
Vout: vout,
Expand Down
Loading

0 comments on commit 2e1a7b1

Please sign in to comment.