Skip to content

Commit e410e9d

Browse files
authored
refactor: use specific types for localtxsubmission callback (#808)
1 parent 43fe186 commit e410e9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

protocol/localtxsubmission/localtxsubmission.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ type CallbackContext struct {
8383
}
8484

8585
// Callback function types
86-
type SubmitTxFunc func(CallbackContext, interface{}) error
86+
type SubmitTxFunc func(CallbackContext, MsgSubmitTxTransaction) error
8787

8888
// New returns a new LocalTxSubmission object
8989
func New(

0 commit comments

Comments
 (0)