-
Notifications
You must be signed in to change notification settings - Fork 2
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
The RGB++ lock's balance of RUSD is incorrect #812
Comments
Got it , will check it soon. @rabbitz Please check. |
{
"jsonrpc": "2.0",
"result": {
"last_cursor": "0x4061ca7a4796a4eb19ca4f0d065cb9b10ddcf002f10f7cbb810c706cb6bb5c32480101000000ef2d4e0277f9ee6003563147a4daf784375cbed70faae92e6a5daf95ea9f39b00000000000f0769a0000000400000000",
"objects": [{
"block_number": "0xf0769a",
"out_point": {
"index": "0x0",
"tx_hash": "0xf6ecdb4471769de317791782c7dfd0cc5f69ced93f33035a662e893b840f509b"
},
"output": {
"capacity": "0x5e3ff5d00",
"lock": {
"args": "0x01000000ef2d4e0277f9ee6003563147a4daf784375cbed70faae92e6a5daf95ea9f39b0",
"code_hash": "0x61ca7a4796a4eb19ca4f0d065cb9b10ddcf002f10f7cbb810c706cb6bb5c3248",
"hash_type": "type"
},
"type": {
"args": "0x878fcc6f1f08d48e87bb1c3b3d5083f23f8a39c5d5c764f253b55b998526439b",
"code_hash": "0x1142755a044bf2ee358cba9f2da187ce928c91cd4dc8692ded0337efa677d21a",
"hash_type": "type"
}
},
"output_data": "0x002d3101000000000000000000000000",
"tx_index": "0x4"
}]
},
"id": 2
}
|
There're two issues here:
FYI, @FrederLu reproduced it:
|
The RUSD balance of
tb1qvt7p9g6mw70sealdewtfp0sekquxuru6j3gwmt
is incorrect.The result of
btc-asset-api
The result of CKB Explorer
Analysis
The 0.2RUSD is from https://testnet.explorer.nervos.org/transaction/0xf6ecdb4471769de317791782c7dfd0cc5f69ced93f33035a662e893b840f509b#0, but the corresponding BTC UTXO is spent.
So the correct balance of RUSD is 0.09RUSD.
The text was updated successfully, but these errors were encountered: