Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
noot committed Jun 17, 2021
1 parent 589380e commit 991d5e5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions dot/rpc/modules/author_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,10 @@ func TestAuthorModule_SubmitExtrinsic_invalid_input(t *testing.T) {
txQueue := state.NewTransactionState()
auth := setupAuthModule(t, txQueue)

fmt.Println("setupAuthModule")

// create and submit extrinsic
ext := Extrinsic{fmt.Sprintf("%x", "1")}

res := new(ExtrinsicHashResponse)
fmt.Println("SubmitExtrinsic")

err := auth.SubmitExtrinsic(nil, &ext, res)
require.EqualError(t, err, "could not byteify non 0x prefixed string")
Expand Down
2 changes: 0 additions & 2 deletions dot/sync/syncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ var logger = log.New("pkg", "sync")

// Service deals with chain syncing by sending block request messages and watching for responses.
type Service struct {
//codeHash common.Hash // cached hash of runtime code

// State interfaces
blockState BlockState // retrieve our current head of chain from BlockState
storageState StorageState
Expand Down

0 comments on commit 991d5e5

Please sign in to comment.