Update wallet.rb

Added simplified way to check if the blockchain is up to date.