| 241 | } |
| 242 | |
| 243 | QString getTxHex(interfaces::Wallet& wallet, TransactionRecord *rec) |
| 244 | { |
| 245 | auto tx = wallet.getTx(rec->hash); |
| 246 | if (tx) { |
| 247 | std::string strHex = EncodeHexTx(*tx); |
| 248 | return QString::fromStdString(strHex); |
| 249 | } |
| 250 | return QString(); |
| 251 | } |
| 252 | }; |
| 253 | |
| 254 | TransactionTableModel::TransactionTableModel(const PlatformStyle *_platformStyle, WalletModel *parent): |
no test coverage detected