Changing check for wallet match to master pubkey