I didn't think of that. The centralized third-party running the auction app could leak the bidding prices. You could use homomorphic encryption to encrypt the price instead of hashing. The application can compare the encrypted price without knowing the actual value. When the auction stops, the winner reveals his secret key to prove the actual price. I can find many papers about using homomorphic encryption to implement an auction system on google.