The Nigerian government says it has come up with a way to deal with the oil crisis facing the country.