Skip to content

Commit

Permalink
Remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
dastanbeksamatov committed Jun 8, 2021
1 parent 0aad62c commit 47b4992
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/scripts/get-latest-header.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ curl --location --request POST 'localhost:9933' \
--header 'Content-Type: application/json' \
--data-raw '{
"jsonrpc": "2.0",
"method": "chain_getFinalizedHead",
"method": "chain_getHeader",
"params": [],
"id": 1
}'
2 changes: 0 additions & 2 deletions assembly/frame/executive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,6 @@ export namespace Executive {
const transactionVersion = RuntimeConfig.runtimeVersion().transactionVersion;
const payload = utx.createPayload(blockHash, genesisHash, specVersion, transactionVersion);

Log.info("payload: " + Utils.toHexString(payload));

if (!Crypto.verifySignature(<SignatureType>extSignature.signature, payload, from, SignatureTypes.sr25519)) {
Log.error("Validation error: Invalid signature");
return ResponseCodes.INVALID_SIGNATURE;
Expand Down

0 comments on commit 47b4992

Please sign in to comment.