| 448 | } |
| 449 | |
| 450 | std::string WalletHDsqlite::export_keys() const { |
| 451 | std::string mnemonic; |
| 452 | if (!get("mnemonic", mnemonic)) |
| 453 | throw std::runtime_error("Exporting mnemonic not supported by view-only or hardware-backed wallet"); |
| 454 | return mnemonic; |
| 455 | } |
| 456 | |
| 457 | bool WalletHDsqlite::on_first_output_found(Timestamp ts) { |
| 458 | if (!WalletHDBase::on_first_output_found(ts)) |