Remove unnecessary config dependency on libwallet.