Skip to content

Commit 81fda98

Browse files
committed
Fix NFT payment type
1 parent ffcf106 commit 81fda98

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/aleph_client/commands/instance/__init__.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,13 @@ async def create(
158158

159159
# Force-switches if NFT payment-type
160160
if payment_type == "nft":
161-
payment_chain = Chain.AVAX
162161
payment_type = PaymentType.hold
163-
console.print(
164-
"[yellow]NFT[/yellow] payment-type selected: Auto-switch to [cyan]AVAX[/cyan] with [red]HOLD[/red]"
162+
payment_chain = Chain(
163+
Prompt.ask(
164+
"On which chain did you claim your NFT voucher?",
165+
choices=[Chain.AVAX.value, Chain.BASE.value, Chain.SOL.value],
166+
default=Chain.AVAX.value,
167+
)
165168
)
166169
elif payment_type in [ptype.value for ptype in PaymentType]:
167170
payment_type = PaymentType(payment_type)

0 commit comments

Comments
 (0)