pullfinger / localbitcoins-analytics

tools to perform analytics on a localbitcoins trading account
0 stars 2 forks source link

guarded function for config setting from config file #5

Open pullfinger opened 9 years ago

pullfinger commented 9 years ago

from lbc-transaction-reports.js line 240: var api_key= fs.readFileSync(config.localbitcoins_readonly_api_key, "utf8") var api_secret = fs.readFileSync(config.localbitcoins_readonly_api_secret, "utf8")

contract takes one string that is name of a setting, returns one string that is the value of a setting