qt, refactor: Convert uint256 to Txid in the GUI

Switch all instances of a transaction from a uint256 to the Txid type.
This commit is contained in:
marcofleon
2025-03-28 16:13:36 +00:00
parent efac285a0d
commit b3214cefe6
11 changed files with 33 additions and 24 deletions

View File

@@ -533,7 +533,7 @@ public:
std::unique_ptr<Handler> handleTransactionChanged(TransactionChangedFn fn) override
{
return MakeSignalHandler(m_wallet->NotifyTransactionChanged.connect(
[fn](const uint256& txid, ChangeType status) { fn(txid, status); }));
[fn](const uint256& txid, ChangeType status) { fn(Txid::FromUint256(txid), status); }));
}
std::unique_ptr<Handler> handleWatchOnlyChanged(WatchOnlyChangedFn fn) override
{