@@ -58,7 +58,7 @@ type BadInputsUtxoError struct {
58
58
}
59
59
60
60
func (e BadInputsUtxoError ) Error () string {
61
- tmpInputs := make ([]string , 0 , len (e .Inputs ))
61
+ tmpInputs := make ([]string , len (e .Inputs ))
62
62
for idx , tmpInput := range e .Inputs {
63
63
tmpInputs [idx ] = tmpInput .String ()
64
64
}
@@ -71,7 +71,7 @@ type WrongNetworkError struct {
71
71
}
72
72
73
73
func (e WrongNetworkError ) Error () string {
74
- tmpAddrs := make ([]string , 0 , len (e .Addrs ))
74
+ tmpAddrs := make ([]string , len (e .Addrs ))
75
75
for idx , tmpAddr := range e .Addrs {
76
76
tmpAddrs [idx ] = tmpAddr .String ()
77
77
}
@@ -84,7 +84,7 @@ type WrongNetworkWithdrawalError struct {
84
84
}
85
85
86
86
func (e WrongNetworkWithdrawalError ) Error () string {
87
- tmpAddrs := make ([]string , 0 , len (e .Addrs ))
87
+ tmpAddrs := make ([]string , len (e .Addrs ))
88
88
for idx , tmpAddr := range e .Addrs {
89
89
tmpAddrs [idx ] = tmpAddr .String ()
90
90
}
@@ -109,7 +109,7 @@ type OutputTooSmallUtxoError struct {
109
109
}
110
110
111
111
func (e OutputTooSmallUtxoError ) Error () string {
112
- tmpOutputs := make ([]string , 0 , len (e .Outputs ))
112
+ tmpOutputs := make ([]string , len (e .Outputs ))
113
113
for idx , tmpOutput := range e .Outputs {
114
114
tmpOutputs [idx ] = fmt .Sprintf ("%#v" , tmpOutput )
115
115
}
@@ -121,7 +121,7 @@ type OutputBootAddrAttrsTooBigError struct {
121
121
}
122
122
123
123
func (e OutputBootAddrAttrsTooBigError ) Error () string {
124
- tmpOutputs := make ([]string , 0 , len (e .Outputs ))
124
+ tmpOutputs := make ([]string , len (e .Outputs ))
125
125
for idx , tmpOutput := range e .Outputs {
126
126
tmpOutputs [idx ] = fmt .Sprintf ("%#v" , tmpOutput )
127
127
}
0 commit comments