The tree I planted at home was thought to be a pepper tree for seven or eight years, but it's not. What kind of tree is it? The fruit looks like a bean curd, and the tree is full of thorns.
The leaves look like acacias, but I'm not sure. If it is acacia, white flowers in the spring is quite beautiful, a bunch of bunches, the result is similar to the beans like, each pod has about 3,4 small black seeds, also a bunch of bunches, you can refer to it.