@@ -38,9 +38,8 @@ type Output struct {
38
38
Signers []string `json:"signers"`
39
39
SignedBy string `json:"signed_by"`
40
40
41
- InscriptionHash string `json:"inscription_hash,omitempty"`
42
- Deposit * KernelDepositView `json:"deposit,omitempty"`
43
- RequestId string `json:"request_id,omitempty"`
41
+ InscriptionHash string `json:"inscription_hash,omitempty"`
42
+ RequestId string `json:"request_id,omitempty"`
44
43
}
45
44
46
45
func ListUnspentOutputs (ctx context.Context , membersHash string , threshold byte , kernelAssetId string , u * SafeUser ) ([]* Output , error ) {
@@ -61,7 +60,7 @@ func ListOutputs(ctx context.Context, membersHash string, threshold byte, assetI
61
60
if state != "" {
62
61
v .Set ("state" , state )
63
62
}
64
- method , path := "GET" , fmt .Sprintf ("%s" , " /safe/outputs?" + v .Encode ())
63
+ method , path := "GET" , fmt .Sprintf ("/safe/outputs?%s" , v .Encode ())
65
64
token , err := SignAuthenticationToken (method , path , "" , u )
66
65
if err != nil {
67
66
return nil , err
@@ -102,7 +101,7 @@ func ListOutputsByToken(ctx context.Context, membersHash string, threshold byte,
102
101
if state != "" {
103
102
v .Set ("state" , state )
104
103
}
105
- method , path := "GET" , fmt .Sprintf ("%s" , " /safe/outputs?" + v .Encode ())
104
+ method , path := "GET" , fmt .Sprintf ("/safe/outputs?%s" , v .Encode ())
106
105
body , err := Request (ctx , method , path , []byte {}, accessToken )
107
106
if err != nil {
108
107
return nil , err
0 commit comments