mirror of
https://github.com/lil-org/tokenary.git
synced 2024-12-12 12:33:42 +03:00
Fix function call
This commit is contained in:
parent
7c681bc923
commit
aa425abcbd
@ -46,9 +46,9 @@ struct Transaction {
|
||||
var result = [String]()
|
||||
if let decimal = try? weiAmount.value().toNormalizedDecimal(power: 18) {
|
||||
let decimalNumber = NSDecimalNumber(decimal: decimal)
|
||||
let cost = cost(value: decimalNumber, price: ethPrice)
|
||||
let costString = cost(value: decimalNumber, price: ethPrice)
|
||||
if let value = ethString(decimalNumber: decimalNumber) {
|
||||
result.append("\(value) ETH" + cost)
|
||||
result.append("\(value) ETH" + costString)
|
||||
}
|
||||
}
|
||||
result.append("Fee: " + fee)
|
||||
|
Loading…
Reference in New Issue
Block a user