what lang is this? looks like VB
the <= appears to be what you want given the logic you described
what is the problem you are seeing with the current code, if you send more coin to the wallet Address A it doesn't update anything?
and what are you trying to do exactly? keep the balance up to date?
why wouldn't you simply always use the new_final_amount as the current balance?
It updates in my system fine, and thats all I want it to do. But what happens is if you deposit 5 bitcoins into one of the bulk wallet addresses then I withdraw it. The next deposit will not show up untill you deposit 5 bitcoins and thing it will only show the amount after that. I have to assume this would go on forever.