vcash icon indicating copy to clipboard operation
vcash copied to clipboard

Error in new RPC command sendfrom

Open ghost opened this issue 8 years ago • 1 comments

The new RPC command introduced in this recent commit:

https://github.com/openvcash/vcash/commit/fe03fe137427c151d462ab2cb820143d96d10fa6

does not select coins from the account provided as first parameter. It only checks the balance but, as coin control is not set in this line:

https://github.com/openvcash/vcash/blob/master/coin/src/wallet.cpp#L3990

account selection has no effect.

ghost avatar Feb 03 '17 17:02 ghost

Can confirm that the same thing happens when you use sendmany RPC. Although the correct account balance gets deducted.

whphhg avatar Mar 09 '17 20:03 whphhg