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

burn address returned by stats endpoint does not return a wallet #2097

Open
jordankzf opened this issue Apr 28, 2023 · 2 comments
Open

burn address returned by stats endpoint does not return a wallet #2097

jordankzf opened this issue Apr 28, 2023 · 2 comments
Labels
kind/bug Something isn't working needs/area Needs area label(s) needs/triage Waiting for triage to be accepted

Comments

@jordankzf
Copy link

What happened:

http://ocean.defichain.com/v0/mainnet/stats returns:

{
"address": 156047334.980501,
"fee": 317153.5,
"auction": 1531021.72660091,
"payback": 61705058.1749106,
"emission": 98783549.57925758,
"total": 317636376.4388676
}

The RPC source returns the burn wallet address correctly:
https://github.com/DeFiCh/ain/blob/b7816112eecb0fc9cf10d2188ba71c89d94a9ab9/src/masternodes/rpc_accounts.cpp#L1942

./src/defi-cli getburninfo
{
"address": "8defichainBurnAddressXXXXXXXdRQkSm",
"amount": 156039991.31470823,
"tokens": [
"7260.95539278@DFI",
"15050.00000000@ETH",
"5467.86380022@BTC",
"33532000.00000000@USDT",
"21120000.00000000@DOGE",
"57551.00000000@LTC",
"10415.00000000@BCH",
"25350000.00000000@USDC",
"6666.29729315@DUSD",
"115.03602640@AMZN",
"90.86452340@GOOGL",
"1029.33274752@GME",
"170.86966671@TSLA",
"3000000.00000000@SINGA#192",
"174000.00000000@EUROC"
],
...

What you expected to happen:

burned.address should be a wallet address.

@jordankzf jordankzf added the kind/bug Something isn't working label Apr 28, 2023
@github-actions
Copy link

@jordankzf: Thanks for opening an issue, it is currently awaiting triage.

The triage/accepted label can be added by foundation members by writing /triage accepted in a comment.

Details

I am a bot created to help the JellyfishSDK developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

@github-actions github-actions bot added needs/triage Waiting for triage to be accepted needs/area Needs area label(s) labels Apr 28, 2023
@github-actions
Copy link

@jordankzf: There are no 'area' labels on this issue. Adding an appropriate label will greatly expedite the process for us. You can add as many area as you see fit. If you are unsure what to do you can ignore this!

You can add area labels by leaving a /area comment.

Details

I am a bot created to help the JellyfishSDK developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working needs/area Needs area label(s) needs/triage Waiting for triage to be accepted
Projects
None yet
Development

No branches or pull requests

1 participant