forked from such-gitea/wownero
device_ledger: remove full_name variable
This variable was never set, resulting in the device name always showing as "disconnected".
This commit is contained in:
@@ -322,7 +322,7 @@ namespace hw {
|
||||
}
|
||||
|
||||
const std::string device_ledger::get_name() const {
|
||||
if (this->full_name.empty() || !this->connected()) {
|
||||
if (!this->connected()) {
|
||||
return std::string("<disconnected:").append(this->name).append(">");
|
||||
}
|
||||
return this->name;
|
||||
|
||||
Reference in New Issue
Block a user