mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-10 13:13:27 +01:00
fix wallet callback signatures
This commit is contained in:
parent
ab594cfee9
commit
600353e2b2
@ -99,7 +99,7 @@ struct Wallet2CallbackImpl : public tools::i_wallet2_callback
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void on_money_received(uint64_t height, const crypto::hash &txid, uint64_t amount)
|
virtual void on_money_received(uint64_t height, const crypto::hash &txid, const cryptonote::transaction& tx, uint64_t amount)
|
||||||
{
|
{
|
||||||
|
|
||||||
std::string tx_hash = epee::string_tools::pod_to_hex(txid);
|
std::string tx_hash = epee::string_tools::pod_to_hex(txid);
|
||||||
@ -114,7 +114,7 @@ struct Wallet2CallbackImpl : public tools::i_wallet2_callback
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void on_unconfirmed_money_received(uint64_t height, const crypto::hash &txid, uint64_t amount)
|
virtual void on_unconfirmed_money_received(uint64_t height, const crypto::hash &txid, const cryptonote::transaction& tx, uint64_t amount)
|
||||||
{
|
{
|
||||||
|
|
||||||
std::string tx_hash = epee::string_tools::pod_to_hex(txid);
|
std::string tx_hash = epee::string_tools::pod_to_hex(txid);
|
||||||
@ -129,8 +129,8 @@ struct Wallet2CallbackImpl : public tools::i_wallet2_callback
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void on_money_spent(uint64_t height, const crypto::hash &txid, uint64_t amount,
|
virtual void on_money_spent(uint64_t height, const crypto::hash &txid, const cryptonote::transaction& in_tx,
|
||||||
const cryptonote::transaction& spend_tx)
|
uint64_t amount, const cryptonote::transaction& spend_tx)
|
||||||
{
|
{
|
||||||
// TODO;
|
// TODO;
|
||||||
std::string tx_hash = epee::string_tools::pod_to_hex(txid);
|
std::string tx_hash = epee::string_tools::pod_to_hex(txid);
|
||||||
|
Loading…
Reference in New Issue
Block a user