chore(simapp): be consistent with runtime (#22203)

This commit is contained in:
Julien Robert 2024-10-10 08:35:33 +02:00 committed by GitHub
parent b57ce4d19b
commit 27f1f7885d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -209,7 +209,7 @@ func NewSimApp(
legacyAmino := codec.NewLegacyAmino()
txConfig := tx.NewTxConfig(appCodec, tx.DefaultSignModes)
if err := txConfig.SigningContext().Validate(); err != nil {
if err := interfaceRegistry.SigningContext().Validate(); err != nil {
panic(err)
}