diff --git a/src/wallet/api/unsigned_transaction.cpp b/src/wallet/api/unsigned_transaction.cpp index 11301595d..6555f30c2 100644 --- a/src/wallet/api/unsigned_transaction.cpp +++ b/src/wallet/api/unsigned_transaction.cpp @@ -76,6 +76,12 @@ bool UnsignedTransactionImpl::sign(const std::string &signedFileName) m_status = Status_Error; return false; } + if(m_wallet.m_wallet->key_on_device()) + { + m_errorString = tr("Command not supported by hardware wallet"); + m_status = Status_Error; + return false; + } std::vector ptx; try {