lib/glueby/internal/contract_builder.rb in glueby-1.2.3 vs lib/glueby/internal/contract_builder.rb in glueby-1.3.0

- old
+ new

@@ -355,10 +355,10 @@ end end def get_fee_estimator(fee_estimator_name) - Glueby::Contract::FeeEstimator.get_const("#{fee_estimator_name.capitalize}", false).new + Glueby::Contract::FeeEstimator.const_get(fee_estimator_name.capitalize, false).new end def valid_fee_estimator?(fee_estimator) [:fixed, :auto].include?(fee_estimator) end