RPC: mergecoins fix
authorCryptoManiac <balthazar@yandex.ru>
Sat, 16 Aug 2014 23:06:37 +0000 (03:06 +0400)
committerCryptoManiac <balthazar@yandex.ru>
Sat, 16 Aug 2014 23:06:37 +0000 (03:06 +0400)
commit026df62b9b76c9a97ea7de3b2826414ef0dc26ba
treef0155b52f3e02b10f14b3ceb49e3d52ad6bcf177
parenta9204899b009f9eff902ddf4f4c7acc444782ac2
RPC: mergecoins fix

* Move maturity verification to SelectCoinsSimple();
* Verify transaction sum correctly;
* Replace an intermediate transaction signing with estimation of transaction size for performance purposes.
src/wallet.cpp