Open kashifali007 opened 8 years ago
listunspent result:
./listunspent [{"txid":"14305371546f88894b5b1194f692ee2fb22cdd6055638517e6aa1be2a7e8edf8","vout":1,"address":"RP2tciau3K53XS9hdGY5jjvA2K883mimGX","scriptPubKey":"76a91496dd5c660363fad9b7668242c08ca3696d273be088ac","amount":0.50006000,"timestamp":1474711079,"height":1309096,"confirmations":85,"checkind":0,"account":"default","spendable":true}, {"txid":"14305371546f88894b5b1194f692ee2fb22cdd6055638517e6aa1be2a7e8edf8","vout":0,"address":"RGVroEAdWfmkTbdPPSPzSSx8C5vmHgWwfZ","scriptPubKey":"76a9144f2e31730dd9207d0b731785c114c8032066f2d288ac","amount":0.00030000,"timestamp":1474711079,"height":1309096,"confirmations":85,"checkind":0,"account":"test7","spendable":true}]
listreceivedbyaddress rpc is showing invalid balance against multiple accounts
1) listreceivedbyaddress rpc result: {"result":[{"address":"RP2tciau3K53XS9hdGY5jjvA2K883mimGX","amount":0,"txids":["a7d7ea45337430e50db3896c47e387907c8c09c2c82aafb76ada2782ef1b09f7", "9fb262434c94cb5ccdca24dff6443afe2a427aba3f932981f193d032f6fc7a61", "5e6169ed003ba9a4345e25b5ece53174c952b52ebadf0f8fd2bff8892e447bbc", "032d45593cdf911a4de255fe932a6c6610d74dc2ea72decf6d3860c68a793a9a", "95907385cc1d223a501cf5d5b61b792a30f764b47a68c13c039cfc23a726f0e6", "14305371546f88894b5b1194f692ee2fb22cdd6055638517e6aa1be2a7e8edf8"],"vouts":[1, 1, 1, 1, 1, 1]}, {"address":"RLAyH6zCypa4Ke3Ezokrz93d41shbXi84m","amount":0,"txids":["0b33ab22a79a2605d1951ae5b01aae394a9f4e74708e9e665e274653987a2096", "9c40ed620b67c427cdaacd921b73a1a1a974047ac29b3137e0d1b5d34996c071"],"vouts":[0, 1]}, {"address":"RN5tXNu5AJweSau2urxKVxDZcmT6z6A2FL","amount":0,"txids":["a7d7ea45337430e50db3896c47e387907c8c09c2c82aafb76ada2782ef1b09f7"],"vouts":[0]}, {"address":"RFfiDHxigsjwHS5NQtvHLEBiTYePr9XgVY","amount":0,"txids":["032d45593cdf911a4de255fe932a6c6610d74dc2ea72decf6d3860c68a793a9a"],"vouts":[0]}, {"address":"RQ3gk2umDggguLWJvZk1Ya6eMjeoYUkNMi","amount":0,"txids":["5e6169ed003ba9a4345e25b5ece53174c952b52ebadf0f8fd2bff8892e447bbc"],"vouts":[0]}, {"address":"RPFDh74ymxvH2dgvTzBtCV9A3TkDkLfy7k","amount":0,"txids":[],"vouts":[]}, {"address":"RChgjHrBiFAE3ZC8urkhsRYZqKrxa9cb2E","amount":0,"txids":[],"vouts":[]}, {"address":"RFCCxFGtdrRxQ7Bg3dF431dYs745pgp1te","amount":0,"txids":[],"vouts":[]}, {"address":"RCDNddzib96ApWNnjSPBb4oy583uARfaAR","amount":0,"txids":[],"vouts":[]}, {"address":"RGVroEAdWfmkTbdPPSPzSSx8C5vmHgWwfZ","amount":0,"txids":["14305371546f88894b5b1194f692ee2fb22cdd6055638517e6aa1be2a7e8edf8"],"vouts":[0]}],"tag":"9761696093371951210"}
2) listaccount rpc result: ./listaccount_ALL {"result":{"default":0.50006000,"IGUANA":0,"test":0,"test1":0,"test2":0,"test3":0,"test4":0,"test5":0,"test6":0,"test7":0.00030000},"tag":"8867060783398421983"}
whereas listreceivedbyaccount rpc showing valid result against all account
result: ./listreceivedbyaccount {"result":[{"account":"default","amount":0.50006000}, {"account":"IGUANA","amount":0}, {"account":"test","amount":0}, {"account":"test1","amount":0}, {"account":"test2","amount":0}, {"account":"test3","amount":0}, {"account":"test4","amount":0}, {"account":"test5","amount":0}, {"account":"test6","amount":0}, {"account":"test7","amount":0.00030000}],"tag":"403566418452206397"}
STEPS TO REPRODUCE: