Closed gmelika closed 8 years ago
I don't think this is needed anymore after https://github.com/askmike/bitstamp/commit/158289c44eabaec9936a9f9c8a5e0477c1aedad2. Also, this PR seems to do a lot more than just fix the nonce (whitespace removal, semicolon addition, moving variable declarations, etc.).
the nonce calculation depends on Date.getMilliseconds() which returns a number that's between 1-3 digits long. I added zero-padding to make sure nonce is always increasing