Yam Finance uncovered a bug the day after ShapeShift CEO Erik Voorhees called the project a scam.