fix wallet.is_change() method