rpc: fix bad name spellings noted by golint

pkg/rpc/neoScanBalanceGetter.go:54:56: method parameter assetIdUint should be assetIDUint
pkg/rpc/neoScanBalanceGetter.go:62:3: var assetId should be assetID
pkg/rpc/server_test.go:27:5: var testRpcCases should be testRPCCases
pkg/rpc/txTypes.go:19:3: struct field assetId should be assetID
pkg/rpc/txTypes.go:39:35: interface method parameter assetId should be assetID
pkg/rpc/types.go:115:2: struct field TxId should be TxID

Refs. #213.
This commit is contained in:
Roman Khimov 2019-09-03 18:11:13 +03:00
parent db9e37b3bb
commit 1fd5e5928c
7 changed files with 15 additions and 15 deletions

View file

@ -112,7 +112,7 @@ type TxResponse struct {
// Vin represents JSON-serializable tx input.
type Vin struct {
TxId string `json:"txid"`
TxID string `json:"txid"`
Vout int `json:"vout"`
}