Skip to content

Commit

Permalink
refactor: Tx interface does not include JSON() method. This was more …
Browse files Browse the repository at this point in the history
…trouble than it was worth
  • Loading branch information
randomshinichi committed Apr 30, 2019
1 parent 0964c8c commit 5d59dca
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion aeternity/transactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ func buildPointers(pointers []string) (ptrs []*NamePointer, err error) {
// See https://tour.golang.org/methods/4 or https://dave.cheney.net/2016/03/19/should-methods-be-declared-on-t-or-t
type Tx interface {
RLP() ([]byte, error)
JSON() (string, error)
}

// BaseEncodeTx takes a Tx, runs its RLP() method, and base encodes the result.
Expand Down

0 comments on commit 5d59dca

Please sign in to comment.