Skip to content

Commit

Permalink
chore: api.go wrap to 80 chars
Browse files Browse the repository at this point in the history
  • Loading branch information
randomshinichi committed Jul 26, 2019
1 parent a6f7f54 commit a575059
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions aeternity/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ func getErrorReason(v interface{}) (msg string) {
}

// NodeInterface collects together all the interfaces defined in this file to
// describe the capabilities of a generic connection to an aeternity (or mock) node
// describe the capabilities of a generic connection to an aeternity (or mock)
// node
type NodeInterface interface {
GetAccounter
GetTopBlocker
Expand Down Expand Up @@ -266,8 +267,8 @@ func (c *Node) GetTransactionByHash(txHash string) (tx *models.GenericSignedTx,
return
}

// GetOracleByPubkeyer guarantees that one can run a GetOracleByPubkey() method on the
// mocked/real network connection
// GetOracleByPubkeyer guarantees that one can run a GetOracleByPubkey() method
// on the mocked/real network connection
type GetOracleByPubkeyer interface {
GetOracleByPubkey(string) (*models.RegisteredOracle, error)
}
Expand Down

0 comments on commit a575059

Please sign in to comment.