There is the cool factor to having a 340. I will say this, if it's a non running engine, don't be surprised if it needs 2000 dollars worth of machine shop work. That goes for any small block LA, they are getting older and older.
It's a dice roll, but your chances are better if you can see it run or really know how good it is internally.