mirror of
https://github.com/wownero/wownero-cpp.git
synced 2026-10-17 07:11:30 +02:00
rename get_multisig_hex() to export_multisig_hex()
This commit is contained in:
@@ -1289,8 +1289,8 @@ namespace monero {
|
||||
*
|
||||
* @return this wallet's multisig info as hex for other participants
|
||||
*/
|
||||
virtual std::string get_multisig_hex() {
|
||||
throw std::runtime_error("get_multisig_hex() not supported");
|
||||
virtual std::string export_multisig_hex() {
|
||||
throw std::runtime_error("export_multisig_hex() not supported");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -3193,7 +3193,7 @@ namespace monero {
|
||||
return result;
|
||||
}
|
||||
|
||||
std::string monero_wallet_full::get_multisig_hex() {
|
||||
std::string monero_wallet_full::export_multisig_hex() {
|
||||
bool ready;
|
||||
if (!m_w2->multisig(&ready)) throw std::runtime_error("This wallet is not multisig");
|
||||
if (!ready) throw std::runtime_error("This wallet is multisig, but not yet finalized");
|
||||
|
||||
@@ -270,7 +270,7 @@ namespace monero {
|
||||
std::string prepare_multisig() override;
|
||||
monero_multisig_init_result make_multisig(const std::vector<std::string>& multisig_hexes, int threshold, const std::string& password) override;
|
||||
monero_multisig_init_result exchange_multisig_keys(const std::vector<std::string>& mutisig_hexes, const std::string& password) override;
|
||||
std::string get_multisig_hex() override;
|
||||
std::string export_multisig_hex() override;
|
||||
int import_multisig_hex(const std::vector<std::string>& multisig_hexes) override;
|
||||
monero_multisig_sign_result sign_multisig_tx_hex(const std::string& multisig_tx_hex) override;
|
||||
std::vector<std::string> submit_multisig_tx_hex(const std::string& signed_multisig_tx_hex) override;
|
||||
|
||||
Reference in New Issue
Block a user