CW 1080: fix(cw_monero): call store() directly after commiting tx (#2312)

* fix(cw_monero): call store() directly after commiting tx to make sure that tx key is written to cache
also, store it in TransactionDescription hive box

* Update lib/view_model/send/send_view_model.dart

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
This commit is contained in:
cyan
2025-06-16 17:49:43 +03:00
committed by GitHub
co-authored by Omar Hatem
parent fe0c9ecc0e
commit a96b493b60
7 changed files with 31 additions and 15 deletions
+1 -1
View File
@@ -365,7 +365,7 @@ class CWMonero extends Monero {
@override
Map<String, String> pendingTransactionInfo(Object transaction) {
final ptx = transaction as PendingMoneroTransaction;
return {'id': ptx.id, 'hex': ptx.hex, 'key': ptx.txKey};
return {'id': ptx.id, 'hex': ptx.hex};
}
@override