Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ```go test -run TestRestAPI_Accounts
- https://api.huobi.pro/v1/account/accounts/?AccessKeyId=991a5960-86728311-a5b6ba1b-3ca24&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2018-08-27T16%3A25%3A03&Signature=dNzCF+x5xyvcuUkyGKKcLianYafknb3EDPfp1RSere4=
- --- FAIL: TestRestAPI_Accounts (1.37s)
- get_accounts_test.go:45:
- Error Trace: get_accounts_test.go:45
- Error: Received unexpected error:
- Signature not valid: Verification failure [校验失败]
- Test: TestRestAPI_Accounts
- FAIL
- exit status 1```
- (edited)
- ```go test -run TestRestAPI_Accounts
- https://api.huobi.pro/v1/account/accounts/?AccessKeyId=991a5960-86728311-a5b6ba1b-3ca24&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2018-08-27T16%3A25%3A06&Signature=7TzBlcn/g1MnrNBqbVFpUvNff/GFbXBHKLldTweG6mE=
- &{ok [{4755095 spot working 0}]}
- PASS
- ok github.com/CIP-NL/kermit/huobi/rest 0.696s```
Advertisement
Add Comment
Please, Sign In to add comment