have processBlock update the wallet