From 9ad918a0056bc351dfdc82d2c1119354c4629a21 Mon Sep 17 00:00:00 2001 From: Nishant Ghodke Date: Fri, 29 Sep 2023 16:12:18 +0530 Subject: [PATCH] feat: change scope of isEligible method to private --- packages/sdk/src/instant-trade/InstantTradeBuyerTxBuilder.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sdk/src/instant-trade/InstantTradeBuyerTxBuilder.ts b/packages/sdk/src/instant-trade/InstantTradeBuyerTxBuilder.ts index f1e19a9e..d15fe95d 100644 --- a/packages/sdk/src/instant-trade/InstantTradeBuyerTxBuilder.ts +++ b/packages/sdk/src/instant-trade/InstantTradeBuyerTxBuilder.ts @@ -126,7 +126,7 @@ export default class InstantTradeBuyerTxBuilder extends InstantTradeBuilder { return utxos.slice(0, 2) } - async isEligible() { + private async isEligible() { if (!this.inscriptionOutpoint) { throw new Error("decode seller PSBT to check eligiblity") }