Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions types/tx/tips.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package tx

// TipTx defines the interface to be implemented by Txs that handle Tips.
type TipTx interface {
GetTip() *Tip
}
4 changes: 4 additions & 0 deletions x/auth/tx/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,10 @@
return w.tx.Body.TimeoutHeight
}

func (w *wrapper) GetTip() *tx.Tip {

Check failure on line 224 in x/auth/tx/builder.go

View workflow job for this annotation

GitHub Actions / Analyze

SA1019: tx.Tip is deprecated: Do not use. (staticcheck)
return w.tx.AuthInfo.Tip
}

func (w *wrapper) GetSignaturesV2() ([]signing.SignatureV2, error) {
signerInfos := w.tx.AuthInfo.SignerInfos
sigs := w.tx.Signatures
Expand Down
Loading