~singpolyma/sgx-jmp

2c61aa92873c769a767324381246eaad24ad9aa1 — Stephen Paul Weber 4 months ago f05cb03
Load scripts relative to script path not cwd
1 files changed, 1 insertions(+), 1 deletions(-)

M sgx_jmp.rb
M sgx_jmp.rb => sgx_jmp.rb +1 -1
@@ 110,7 110,7 @@ require_relative "lib/statsd"

ELECTRUM = Electrum.new(**CONFIG[:electrum])
ELECTRUM_BCH = Electrum.new(**CONFIG[:electrum_bch])
EM::Hiredis::Client.load_scripts_from("./redis_lua")
EM::Hiredis::Client.load_scripts_from("#{__dir__}/redis_lua")

Faraday.default_adapter = :em_synchrony
BandwidthIris::Client.global_options = {