| 206 | } |
| 207 | |
| 208 | QString getTxHex(interfaces::Wallet& wallet, TransactionRecord *rec) |
| 209 | { |
| 210 | auto tx = wallet.getTx(rec->hash); |
| 211 | if (tx) { |
| 212 | std::string strHex = EncodeHexTx(*tx); |
| 213 | return QString::fromStdString(strHex); |
| 214 | } |
| 215 | return QString(); |
| 216 | } |
| 217 | }; |
| 218 | |
| 219 | TransactionTableModel::TransactionTableModel(const PlatformStyle *_platformStyle, WalletModel *parent): |
no test coverage detected