Made symbol precision a public computed property. (#22)

This commit is contained in:
Keith Hunter 2018-10-10 09:53:42 -04:00 committed by GitHub
parent 5c5cd69542
commit 30c38c7049
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ public struct Asset: Equatable {
case custom(name: String, precision: UInt8)
/// Number of decimal points represented.
var precision: UInt8 {
public var precision: UInt8 {
switch self {
case .steem, .sbd:
return 3