| 293 | } |
| 294 | |
| 295 | bool WalletBatch::WriteOfflineXPubKey(const CExtPubKey& offline_xpub) |
| 296 | { |
| 297 | std::vector<unsigned char> vxpub; |
| 298 | vxpub.resize(BIP32_EXTKEY_SIZE); |
| 299 | offline_xpub.Encode(&vxpub[0]); |
| 300 | return WriteIC(std::string("offlinexpub"), vxpub); |
| 301 | } |
| 302 | |
| 303 | bool WalletBatch::WriteOfflineDescriptor(const std::string& offline_desc) |
| 304 | { |
no test coverage detected