jorijn/bitcoin-dca

Calculation for Bitvavo-Access-Timestamp header on Bitvavo is wrong on 32-bits PHP systems

jorijn opened this issue · 0 comments

Describe the bug
Calculation for Access-Window header on Bitvavo is wrong on 32-bits PHP systems.

To Reproduce
Steps to reproduce the behavior:

Execute echo time() * 1000.

Expected behavior
I expect an integer of length 13.

Screenshots
Screen Shot 2020-12-21 at 7 10 57 AM

Platform (please complete the following information):

  • OS: Raspbian ARMv7

Additional context
The Bitvavo connection is failing because the Bitvavo-Access-Timestamp header is incorrect.