diff options
| author | stoffu <stoffu@protonmail.ch> | 2018-01-22 10:16:25 +0900 |
|---|---|---|
| committer | stoffu <stoffu@protonmail.ch> | 2018-01-29 17:05:07 +0900 |
| commit | 402c9eef0e25d8a295367206ea9f1aebdea7c6d7 (patch) | |
| tree | 029024e5b9cbac2083b88c0972ffe90978e02695 /src/cryptonote_core/cryptonote_tx_utils.h | |
| parent | ed67e5c001d50a2eea5fa24dfc58eba0921d525b (diff) | |
| download | monzero-core-402c9eef0e25d8a295367206ea9f1aebdea7c6d7.tar.gz monzero-core-402c9eef0e25d8a295367206ea9f1aebdea7c6d7.tar.xz monzero-core-402c9eef0e25d8a295367206ea9f1aebdea7c6d7.zip | |
cryptonote_tx_utils: fixed logic bug in get_destination_view_key_pub
Diffstat (limited to 'src/cryptonote_core/cryptonote_tx_utils.h')
| -rw-r--r-- | src/cryptonote_core/cryptonote_tx_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/cryptonote_tx_utils.h b/src/cryptonote_core/cryptonote_tx_utils.h index e3b7a4f8c..1c390078d 100644 --- a/src/cryptonote_core/cryptonote_tx_utils.h +++ b/src/cryptonote_core/cryptonote_tx_utils.h @@ -88,7 +88,7 @@ namespace cryptonote }; //--------------------------------------------------------------- - crypto::public_key get_destination_view_key_pub(const std::vector<tx_destination_entry> &destinations, const account_keys &sender_keys); + crypto::public_key get_destination_view_key_pub(const std::vector<tx_destination_entry> &destinations, const boost::optional<cryptonote::account_public_address>& change_addr); bool construct_tx(const account_keys& sender_account_keys, std::vector<tx_source_entry> &sources, const std::vector<tx_destination_entry>& destinations, const boost::optional<cryptonote::account_public_address>& change_addr, std::vector<uint8_t> extra, transaction& tx, uint64_t unlock_time); bool construct_tx_with_tx_key(const account_keys& sender_account_keys, const std::unordered_map<crypto::public_key, subaddress_index>& subaddresses, std::vector<tx_source_entry>& sources, const std::vector<tx_destination_entry>& destinations, const boost::optional<cryptonote::account_public_address>& change_addr, std::vector<uint8_t> extra, transaction& tx, uint64_t unlock_time, const crypto::secret_key &tx_key, const std::vector<crypto::secret_key> &additional_tx_keys, bool rct = false, bool bulletproof = false, rct::multisig_out *msout = NULL); bool construct_tx_and_get_tx_key(const account_keys& sender_account_keys, const std::unordered_map<crypto::public_key, subaddress_index>& subaddresses, std::vector<tx_source_entry>& sources, const std::vector<tx_destination_entry>& destinations, const boost::optional<cryptonote::account_public_address>& change_addr, std::vector<uint8_t> extra, transaction& tx, uint64_t unlock_time, crypto::secret_key &tx_key, std::vector<crypto::secret_key> &additional_tx_keys, bool rct = false, bool bulletproof = false, rct::multisig_out *msout = NULL); |
