X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FFeeEstimator.ts;h=674833fc9ee3544e941a1cde68587e16809577b6;hb=b358c36fdbe1137bdf1bb786e30c8e14e2e5bc0f;hp=2bcefda5558178a542afd627a7396b8054859f9f;hpb=acecce750cf1159a51f9d1a4dbfd717520739e92;p=ldk-java diff --git a/ts/structs/FeeEstimator.ts b/ts/structs/FeeEstimator.ts index 2bcefda5..674833fc 100644 --- a/ts/structs/FeeEstimator.ts +++ b/ts/structs/FeeEstimator.ts @@ -32,7 +32,7 @@ import * as bindings from '../bindings' // TODO: figure out location const impl_holder: LDKFeeEstimatorHolder = new LDKFeeEstimatorHolder(); let structImplementation = { // todo: in-line interface filling - get_est_sat_per_1000_weight (confirmation_target: LDKConfirmationTarget): number { + get_est_sat_per_1000_weight (confirmation_target: ConfirmationTarget): number { number ret = arg.get_est_sat_per_1000_weight(confirmation_target); return ret; }, @@ -44,14 +44,14 @@ import * as bindings from '../bindings' // TODO: figure out location } export interface FeeEstimatorInterface { - get_est_sat_per_1000_weight(confirmation_target: LDKConfirmationTarget): number; + get_est_sat_per_1000_weight(confirmation_target: ConfirmationTarget): number; } class LDKFeeEstimatorHolder { held: FeeEstimator; } - public number get_est_sat_per_1000_weight(LDKConfirmationTarget confirmation_target) { + public number get_est_sat_per_1000_weight(ConfirmationTarget confirmation_target) { number ret = bindings.FeeEstimator_get_est_sat_per_1000_weight(this.ptr, confirmation_target); return ret; }