Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address index records wrong address for p2sh outputs #828

Open
aguycalled opened this issue Apr 12, 2021 · 0 comments
Open

Address index records wrong address for p2sh outputs #828

aguycalled opened this issue Apr 12, 2021 · 0 comments

Comments

@aguycalled
Copy link
Member

Thanks, I'm working through the testnet to ensure I'm capturing the supply balances correctly. This output flagged up for me as the address in the history isn't the same as the address in the output
root@Navcoin-Testnet:~# /usr/local/bin/navcoin-cli -conf=/root/.navcoin4/testnet.conf getaddresshistory '{"addresses": ["2NANuuqv2iAqNFke5fUMtCzd7T8LebV5D9g"], "start": 2897, "end": 2897}'
[
  {
    "block": 2897,
    "txindex": 2,
    "time": 1614098654,
    "txid": "76518b0f0c3a947f3a62c8735a765d4a05735eedd6d5e923f36813359c0f68ec",
    "address": "mxeeDcaYMqStjuniap3nzLVExFSU6XN9bN",
    "changes": {
      "balance": 1999000000,
      "stakable": 1999000000,
      "voting_weight": 1999000000,
      "flags": 0
    },
    "result": {
      "balance": 1999000000,
      "stakable": 1999000000,
      "voting_weight": 1999000000
    }
  }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@aguycalled and others