Skip to content

fix nonce mechanism #566

@robertkowalski

Description

@robertkowalski

when the api key way used with the node lib, the nonce does not work any more in the ruby lib and our other libraries

https://github.com/bitfinexcom/bfx-api-node-util/blob/master/lib/nonce.js#L11

the change was added in bitfinexcom/bfx-api-node-util@8980fe2 and is imho the wrong approach fixing it, because multiplying by 1000 does not fix the issue, am i missing something here?

the ruby lib still has the old code, where a normal timestamp is used
https://github.com/bitfinexcom/bitfinex-api-rb/blob/cac18d9b817663fef9b4a07b5730d1402272e709/lib/rest/rest_client.rb#L91-L93

not sure about the other implementations, like golang

Originally posted by @robertkowalski in bitfinexcom/bitfinex-api-rb#98 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions