merge latest update
This commit is contained in:
@@ -80,6 +80,7 @@ public:
|
||||
cb({ {"error", "Failed to unlock wallet"} });
|
||||
});
|
||||
}
|
||||
|
||||
void fetchAllPrivKeys(const std::function<void(json)> cb) {
|
||||
unlockIfEncrypted([=] () {
|
||||
zrpc->fetchAllPrivKeys(cb);
|
||||
@@ -89,6 +90,15 @@ public:
|
||||
});
|
||||
}
|
||||
|
||||
void fetchSeed(const std::function<void(json)> cb) {
|
||||
unlockIfEncrypted([=] () {
|
||||
zrpc->fetchSeed(cb);
|
||||
},
|
||||
[=]() {
|
||||
cb({ {"error", "Failed to unlock wallet"} });
|
||||
});
|
||||
}
|
||||
|
||||
// void importZPrivKey(QString addr, bool rescan, const std::function<void(json)>& cb) { zrpc->importZPrivKey(addr, rescan, cb); }
|
||||
// void importTPrivKey(QString addr, bool rescan, const std::function<void(json)>& cb) { zrpc->importTPrivKey(addr, rescan, cb); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user