[qt] receive tab: bech32 address opt-in checkbox

When launched with -adresstype=legacy the checkbox will be hidden.
This commit is contained in:
Sjors Provoost
2018-01-16 20:11:40 +00:00
parent 0910cbe4ef
commit 63ac8907ce
8 changed files with 124 additions and 40 deletions

View File

@@ -733,6 +733,11 @@ bool WalletModel::hdEnabled() const
return wallet->IsHDEnabled();
}
OutputType WalletModel::getDefaultAddressType() const
{
return g_address_type;
}
int WalletModel::getDefaultConfirmTarget() const
{
return nTxConfirmTarget;