fix: check if wallet has master_private_keys