Skip to content

Commit 5e3f08d

Browse files
Only request to bech32 and legacy addresses for now
1 parent 9c84fb3 commit 5e3f08d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/qt/receivecoinsdialog.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,11 @@ void ReceiveCoinsDialog::on_receiveButton_clicked()
151151
if (ui->useBech32->isChecked()) {
152152
address_type = OutputType::BECH32;
153153
} else {
154-
address_type = model->wallet().getDefaultAddressType();
154+
/*address_type = model->wallet().getDefaultAddressType();
155155
if (address_type == OutputType::BECH32) {
156156
address_type = OutputType::P2SH_SEGWIT;
157-
}
157+
}*/
158+
address_type = OutputType::LEGACY; // Revert back to p2sh-segwit when staking is supported
158159
}
159160
address = model->getAddressTableModel()->addRow(AddressTableModel::Receive, label, "", address_type);
160161

0 commit comments

Comments
 (0)