In my opinion there is nothing wrong with using ‘was’ in your sentence. Actually, I think either could be used. Things such as a measured distance, a specific quantity, a specific amount of money, or a period of years, when seen as a single unit, can be used with a singular verb.
Compare these:
Twenty-six miles is the usual length of a marathon.
Fifty dollars is too much to pay for that.
Mr. Johnson’s class is really boring. Two hours seems like an eternity in his class.