Skip to content

Commit d4fb2b0

Browse files
author
Gregor Gololicic
committed
linted
1 parent 0c0776e commit d4fb2b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/accounts/accounts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ type AccountResult struct {
5353
func (r *AccountResult) JSON() interface{} {
5454
result := make(map[string]interface{})
5555
result["address"] = r.Address
56-
result["balance"] = fmt.Sprintf("%s", cadence.UFix64(r.Balance))
56+
result["balance"] = cadence.UFix64(r.Balance).String()
5757

5858
keys := make([]string, 0)
5959
for _, key := range r.Keys {

0 commit comments

Comments
 (0)