Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Steps with values less or equal to 100 in blockchain #147

Open
hovig opened this issue Mar 16, 2018 · 0 comments
Open

Steps with values less or equal to 100 in blockchain #147

hovig opened this issue Mar 16, 2018 · 0 comments
Assignees

Comments

@hovig
Copy link
Contributor

hovig commented Mar 16, 2018

Using Postman (enrolled, registered and generated fitcoins for a specific user):

  • For totalSteps values less than or equal 100, is returning 0 in the blockchain block
    "fitcoinsBalance\":0,\"id\":\"b98b4a8d-109f-4617-8085-0812f6f66c59\",\"memberType\":\"user\",\"stepsUsedForConversion\":0,\"totalSteps\":0}"

  • For totalSteps values greater than or equal to 101 is working fine (e.g. if totalSteps=200, then fitcoinsBalance=2)
    "memberType\":\"user\",\"fitcoinsBalance\":1,\"totalSteps\":101,\"stepsUsedForConversion\":100,\"contractIds\":null}"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants