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 f521c97 commit 991c787Copy full SHA for 991c787
dot/core/service.go
@@ -495,12 +495,14 @@ func (s *Service) HandleSubmittedExtrinsic(ext types.Extrinsic) error {
495
return nil
496
}
497
498
- ts, err := s.storageState.TrieState(nil)
+ bestBlockHash := s.blockState.BestBlockHash()
499
+
500
+ ts, err := s.storageState.TrieState(&bestBlockHash)
501
if err != nil {
502
return err
503
504
- rt, err := s.blockState.GetRuntime(nil)
505
+ rt, err := s.blockState.GetRuntime(&bestBlockHash)
506
507
logger.Critical("failed to get runtime")
508
0 commit comments