Closed snowypowers closed 6 years ago
this is weird... In main net I couldn't find an address with this mismatch between the API's. Did you find any on main net? Its missing exactly 0.00000008 on each wrong one..... can't understand why some are correct and others aren't.
thats like one block off. maybe check your block counting?
the newer claims (with newer starting blocks) looks to be correct now. However, the old data is still there and wrong.
I've been digging the code trying to figure out what may be happening, but didn't changed anything so far. So, whatever it is, it works for most of the time. Still trying to understand why only these calls are one block off...
I created an algorithm to scan the block range for missing blocks and repair. It solved the problem! There was a missing block for some reason.
http://testnet-api.wallet.cityofzion.io/v2/address/claims/ALfnhLg7rUyL6Jr98bzzoxz5J7m64fbR4s
https://neoscan-testnet.io/api/test_net/v1/get_claimable/ALfnhLg7rUyL6Jr98bzzoxz5J7m64fbR4s
Note the difference in
claim
andunclaimed
. They should have the same numbers. I believe that neoscan is wrong because the NEO node is rejecting my tx created by the neoscan data. Have not tried to claim gas with neonDB data tho. I will leave this in this state for as long as possible.