Skip to content

Commit ebb5f6d

Browse files
committed
Lint
1 parent a299e14 commit ebb5f6d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

wallet/encoding_json.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ func (i CreateActionInput) MarshalJSON() ([]byte, error) {
108108
}
109109

110110
func (i *CreateActionInput) UnmarshalJSON(data []byte) error {
111-
type Alias CreateActionInput
112111
aux := &jsonCreateActionInput{
113112
aliasCreateActionInput: (*aliasCreateActionInput)(i),
114113
}
@@ -136,7 +135,6 @@ func (o CreateActionOutput) MarshalJSON() ([]byte, error) {
136135
}
137136

138137
func (o *CreateActionOutput) UnmarshalJSON(data []byte) error {
139-
type Alias CreateActionOutput
140138
aux := &jsonCreateActionOutput{
141139
aliasCreateActionOutput: (*aliasCreateActionOutput)(o),
142140
}
@@ -164,7 +162,6 @@ func (s SignActionSpend) MarshalJSON() ([]byte, error) {
164162
}
165163

166164
func (s *SignActionSpend) UnmarshalJSON(data []byte) error {
167-
type Alias SignActionSpend
168165
aux := &jsonSignActionSpend{
169166
aliasSignActionSpend: (*aliasSignActionSpend)(s),
170167
}
@@ -194,7 +191,6 @@ func (a ActionInput) MarshalJSON() ([]byte, error) {
194191
}
195192

196193
func (a *ActionInput) UnmarshalJSON(data []byte) error {
197-
type Alias ActionInput
198194
aux := &jsonActionInput{
199195
aliasActionInput: (*aliasActionInput)(a),
200196
}
@@ -223,7 +219,6 @@ func (o ActionOutput) MarshalJSON() ([]byte, error) {
223219
}
224220

225221
func (o *ActionOutput) UnmarshalJSON(data []byte) error {
226-
type Alias ActionOutput
227222
aux := &jsonActionOutput{
228223
aliasActionOutput: (*aliasActionOutput)(o),
229224
}
@@ -251,7 +246,6 @@ func (i InternalizeActionArgs) MarshalJSON() ([]byte, error) {
251246
}
252247

253248
func (i *InternalizeActionArgs) UnmarshalJSON(data []byte) error {
254-
type Alias InternalizeActionArgs
255249
aux := &jsonInternalizeActionArgs{
256250
aliasInternalizeActionArgs: (*aliasInternalizeActionArgs)(i),
257251
}

0 commit comments

Comments
 (0)