Skip to content

Commit

Permalink
Fix polkadot starter
Browse files Browse the repository at this point in the history
  • Loading branch information
jiqiang90 committed Jul 10, 2024
1 parent 8cf04b9 commit 7b7ee17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Polkadot/Polkadot-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"@subql/cli": "latest",
"@subql/testing": "latest",
"@subql/types": "latest",
"typescript": "^5.2.2"
"typescript": "^5.2.2",
"@subql/common-substrate": "^4.0.1"
},
"resolutions": {
"ipfs-unixfs": "6.0.6"
Expand Down
2 changes: 1 addition & 1 deletion Polkadot/Polkadot-starter/src/mappings/mappingHandlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export async function handleEvent(event: SubstrateEvent): Promise<void> {
// logger.info(JSON.stringify(event));
const {
event: {
data: [to, amount],
data: [, to, amount],
},
} = event;

Expand Down

0 comments on commit 7b7ee17

Please sign in to comment.