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

balance inconsistency #4

Closed
fastgrav opened this issue Aug 3, 2018 · 6 comments
Closed

balance inconsistency #4

fastgrav opened this issue Aug 3, 2018 · 6 comments

Comments

@fastgrav
Copy link

fastgrav commented Aug 3, 2018

Hi,

After importing priv key on a linux machine the balance value is different:

./lux-cli getinfo
"balance": 16128.80000000, <--- balance ok

./lux-cli listaddressgroupings
[
"Lxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
16129.00000000, <--- it shows balance including immature transactions ... ok
"mn1"
]

./lux-cli getbalance
16128.80000000 <--- balance ok

./lux-cli getbalance mn1
16226.40000000 <----- ???

I restarted luxd with -rescan option

I would like to import multiple addresses and acquire the balance for every address individually
Any ideas ?

thanks,
Andrei

@tpruvot
Copy link
Contributor

tpruvot commented Aug 3, 2018

could you report "listaccounts" output ? and getwalletinfo one too ?

@fastgrav
Copy link
Author

fastgrav commented Aug 3, 2018

./lux-cli listaccounts
{
"": -97.60000000,
"mn1": 16226.60000000
}

./lux-cli getwalletinfo
{
"walletversion": 61000,
"balance": 16129.00000000,
"unconfirmed_balance": 0.00000000,
"immature_balance": 0.00000000,
"txcount": 107,
"keypoololdest": 1533291571,
"keypoolsize": 199
}

@fastgrav
Copy link
Author

fastgrav commented Aug 3, 2018

started with an empty wallet and imported the priv key ...
weird "": -97.60000000,

@tpruvot
Copy link
Contributor

tpruvot commented Aug 3, 2018

try: lux-cli move "mn1" "" 97.6

@fastgrav
Copy link
Author

fastgrav commented Aug 3, 2018

./lux-cli move "mn1" "" 97.6
true
./lux-cli getbalance mn1
16129.00000000
./lux-cli getbalance
16129.00000000

thank you Tanguy
Best regards,
Andrei

@tpruvot
Copy link
Contributor

tpruvot commented Aug 3, 2018

no problem, its a common behavior with imported accounts...

@tpruvot tpruvot closed this as completed Aug 3, 2018
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

3 participants
@tpruvot @fastgrav and others