Blacksn0w works on baseband 05.11.07, which is included with firmware versions 3.1 through 3.1.2. Baseband is not downgradeable, so if the phone was ever upgraded to 3.1.3 it will have the new baseband version 05.12.01 and will not be unlockable, even if the phone is later downgraded to 3.1.2. Please note that whether an unlock works does not depend on firmware version, but baseband (Modem Firmware) version.