Did Mali trade salt for gold or gold for salt?

Ancient Mali traded gold for salt.