Skip to content

Commit

Permalink
Updated a few last int64
Browse files Browse the repository at this point in the history
  • Loading branch information
abourget committed Jan 22, 2019
1 parent c469226 commit 52f6be8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions responses.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ type ActionTrace struct {

type TransactionTraceAuthSequence struct {
Account AccountName
Sequence int64
Sequence Int64
}

// [ ["account", 123123], ["account2", 345] ]
Expand All @@ -137,7 +137,7 @@ func (auth *TransactionTraceAuthSequence) UnmarshalJSON(data []byte) error {
return fmt.Errorf("expected 2nd item to be a sequence number (float64)")
}

*auth = TransactionTraceAuthSequence{AccountName(account), int64(seq)}
*auth = TransactionTraceAuthSequence{AccountName(account), Int64(seq)}

return nil
}
Expand Down

0 comments on commit 52f6be8

Please sign in to comment.