mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-05-07 11:32:15 +00:00
fix haven transaction info (#373)
* fix haven transaction info * fix format
This commit is contained in:
parent
b58b0002b0
commit
e6fe4676ca
1 changed files with 3 additions and 3 deletions
|
@ -297,9 +297,9 @@ class CWHaven extends Haven {
|
||||||
}
|
}
|
||||||
|
|
||||||
CryptoCurrency assetOfTransaction(TransactionInfo tx) {
|
CryptoCurrency assetOfTransaction(TransactionInfo tx) {
|
||||||
final tx = transaction as HavenTransactionInfo;
|
final transaction = tx as HavenTransactionInfo;
|
||||||
final asset = CryptoCurrency.fromString(tx.assetType);
|
final asset = CryptoCurrency.fromString(transaction.assetType);
|
||||||
return asset;
|
return asset;
|
||||||
}
|
}
|
||||||
|
|
||||||
List<AssetRate> getAssetRate()
|
List<AssetRate> getAssetRate()
|
||||||
|
|
Loading…
Reference in a new issue