Skip to content

Commit

Permalink
Merge branch 'main' into get-coin-record-by-name
Browse files Browse the repository at this point in the history
  • Loading branch information
cmmarslender committed Oct 28, 2022
2 parents 568fc92 + 7220067 commit 9bd1d51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pkg/types/coin.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ type Coin struct {
PuzzleHash string `json:"puzzle_hash"`
}

// CoinSolution solution to a coin
type CoinSolution struct {
// CoinSpend spend to a coin
type CoinSpend struct {
Coin *Coin `json:"coin"`
PuzzleReveal *SerializedProgram `json:"puzzle_reveal"`
Solution *SerializedProgram `json:"solution"`
Expand Down
4 changes: 2 additions & 2 deletions pkg/types/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,6 @@ const (

// SpendBundle Spend Bundle...
type SpendBundle struct {
AggregatedSignature string `json:"aggregated_signature"`
CoinSolutions []*CoinSolution `json:"coin_solutions"`
AggregatedSignature string `json:"aggregated_signature"`
CoinSpends []*CoinSpend `json:"coin_spends"`
}

0 comments on commit 9bd1d51

Please sign in to comment.