MCPcopy Create free account
hub / github.com/QuipNetwork/cpp-sdk / setWalletFactory

Method setWalletFactory

include/cli.hpp:21–25  ·  view source on GitHub ↗

For testing: set a custom wallet factory

Source from the content-addressed store, hash-verified

19
20 // For testing: set a custom wallet factory
21 void setWalletFactory(std::function<std::unique_ptr<QuipWallet>(
22 const std::string &, const std::string &)>
23 factory) {
24 wallet_factory_ = std::move(factory);
25 }
26
27private:
28 // Command handlers

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected