Skip to content

Commit

Permalink
proof: clarify doc for Proof.PrevOut
Browse files Browse the repository at this point in the history
  • Loading branch information
ffranr committed Sep 8, 2023
1 parent 8b464ee commit f37f45f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion proof/proof.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,9 @@ type Watcher interface {
// Proof encodes all of the data necessary to prove a valid state transition for
// an asset has occurred within an on-chain transaction.
type Proof struct {
// PrevOut is the previous on-chain outpoint of the asset.
// PrevOut is the previous on-chain outpoint of the asset. This outpoint
// is that of the first on-chain input. Outpoints which correspond to
// the other inputs can be found in AdditionalInputs.
PrevOut wire.OutPoint

// BlockHeader is the current block header committing to the on-chain
Expand Down

0 comments on commit f37f45f

Please sign in to comment.