**Expected behavior**
It is expected that Bitcoin Core is not shutdown automatically during startup. Moreover, it should be possible to set transaction fee at 0.

**Actual behavior**
![Bitcoin Core Error mintxfee](https://user-images.githubusercontent.com/111286121/210274894-e91adf7f-43f7-4c3f-b799-222c00dc34a0.png)

**To reproduce**

1) Click bitcoin-qt.exe.

**System information**

1) A wallet that contained unspent funds was opened previously.
2) The bitcoin.conf file contains "mintxfee=0".
3) Bitcoin Core 24.0.1 official binary for Windows (portable).
LOCK(data.watchonly_->cs_);
                    if (data.watchonly_->IsMine(addr_pair.first)) {
                        // Add to th
                        stdstring label = addr_pair.second.GetLabel();
                        stdstring purpose = addr_pair.second.purpose;
                        if (!purpose.empty()) {
                            data.watchonly_->m_address_book[addr_pair.first].purpose = purpose;
                        }
                        if (!addr_pair.second.IsChange()) {
                            data.watchonly_->m_address_book[addr_pair.first].SetLabel(label);
                        }
                        dests_to_delete.push_back(addr_pair.first);
                        continue;
                    }
                }
                if (data.solvable_) {
                    LOCK(data.solvable_->cs_);
                    if (data.solvable_->IsMine(addr_pair.first)) {
                        // Add to th
                        stdstring label = addr_pair.second.GetLabel();
                        stdstring purpose = addr_pair.second.purpose;
                        if (!purpose.empty()) {
                            data.solvable_->m_address_book[addr_pair.first].purpose = purpose;
                        }
                        if (!addr_pair.second.IsChange()) {
                            data.solvable_->m_address_book[addr_pair.first].SetLabel(label);
                        }
                        dests_to_delete.push_back(addr_pair.first);
                        continue;
                    }