We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7845d7 commit 8fbcbafCopy full SHA for 8fbcbaf
types/tx/tips.go
@@ -0,0 +1,6 @@
1
+package tx
2
+
3
+// TipTx defines the interface to be implemented by Txs that handle Tips.
4
+type TipTx interface {
5
+ GetTip() *Tip
6
+}
x/auth/tx/builder.go
@@ -221,6 +221,10 @@ func (w *wrapper) GetTimeoutHeight() uint64 {
221
return w.tx.Body.TimeoutHeight
222
}
223
224
+func (w *wrapper) GetTip() *tx.Tip {
225
+ return w.tx.AuthInfo.Tip
226
227
228
func (w *wrapper) GetSignaturesV2() ([]signing.SignatureV2, error) {
229
signerInfos := w.tx.AuthInfo.SignerInfos
230
sigs := w.tx.Signatures
0 commit comments