Skip to content

Commit f3e61b8

Browse files
committed
fix amlCheckerRequest
1 parent 14672b7 commit f3e61b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

safeheron/api/tools_api.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ type AmlCheckerRequestResponse struct {
1717
RequestId string `json:"requestId"`
1818
}
1919

20-
func (e *ToolsApi) CmlCheckerRequest(d CreateWhitelistRequest, r *CreateWhitelistResponse) error {
20+
func (e *ToolsApi) AmlCheckerRequest(d AmlCheckerRequestRequest, r *AmlCheckerRequestResponse) error {
2121
return e.Client.SendRequest(d, r, "/v1/tools/aml-checker/request")
2222
}
2323

@@ -48,9 +48,9 @@ type RiskDetail struct {
4848
Label string `json:"label"`
4949
Address string `json:"address"`
5050
Volume string `json:"volume"`
51-
Percent bool `json:"percent"`
51+
Percent string `json:"percent"`
5252
}
5353

54-
func (e *ToolsApi) CreateFromTransactionWhitelist(d CreateFromTransactionWhitelistRequest, r *CreateWhitelistResponse) error {
54+
func (e *ToolsApi) AmlCheckerRetrieves(d AmlCheckerRetrievesRequest, r *AmlCheckerRetrievesResponse) error {
5555
return e.Client.SendRequest(d, r, "/v1/tools/aml-checker/retrieves")
5656
}

0 commit comments

Comments
 (0)