mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-11-12 08:53:57 +01:00
fix: Polygon transactions not coming up in transactions history page (#2537)
This commit is contained in:
@@ -14,6 +14,7 @@ class PolygonTransactionInfo extends EVMChainTransactionInfo {
|
||||
required super.confirmations,
|
||||
required super.to,
|
||||
required super.from,
|
||||
super.contractAddress,
|
||||
super.exponent,
|
||||
});
|
||||
|
||||
@@ -31,6 +32,7 @@ class PolygonTransactionInfo extends EVMChainTransactionInfo {
|
||||
tokenSymbol: data['tokenSymbol'] as String,
|
||||
to: data['to'],
|
||||
from: data['from'],
|
||||
contractAddress: data['contractAddress'],
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -102,6 +102,7 @@ class PolygonWallet extends EVMChainWallet {
|
||||
tokenSymbol: transactionModel.tokenSymbol ?? "MATIC",
|
||||
to: transactionModel.to,
|
||||
from: transactionModel.from,
|
||||
contractAddress: transactionModel.contractAddress,
|
||||
);
|
||||
return model;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user