use long instead of int for getBalance calls

int overflows above ~21 BTC…