rename get_multisig_hex() to export_multisig_hex()

This commit is contained in:
woodser
2022-05-05 16:25:50 -04:00
parent ece61141fe
commit f5fad74b5e
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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");
}
/**
+1 -1
View File
@@ -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");
+1 -1
View File
@@ -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;