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 committed 2025-05-07 15:59:02 +01:00
1 parent efac285a0d
commit b3214cefe6
11 files changed
+33 -24

No files matched your search

+1 -1
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
{