Skip to content

Commit 1209645

Browse files
committed
Allow Bech32 in the Assistant
Signed-off-by: Pttn <28868425+Pttn@users.noreply.github.com>
1 parent 797d04b commit 1209645

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

main.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,17 +125,13 @@ void Options::askConf() {
125125

126126
if (_mode == "Solo") {
127127
std::vector<uint8_t> spk;
128-
std::cout << "Payout address (P2PKH or P2SH): ";
128+
std::cout << "Payout address: ";
129129
std::cin >> value;
130130
setPayoutAddress(value);
131131
if (_payoutAddressFormat == AddressFormat::INVALID) {
132132
std::cerr << "Invalid payout address!" << std::endl;
133133
_stopConfig();
134134
}
135-
else if (_payoutAddressFormat == AddressFormat::BECH32) {
136-
std::cout << "Sorry, Bech32 addresses are currently not supported." << std::endl;
137-
_stopConfig();
138-
}
139135

140136
file << "PayoutAddress = " << _payoutAddress << std::endl;
141137
}

0 commit comments

Comments
 (0)