Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Commit

Permalink
example cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
harrysolovay committed Oct 22, 2022
1 parent 7203289 commit 7eddfac
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions examples/transfer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,10 @@ const root = new C.Extrinsic(T.westend, {
},
},
})
.signed((message) => {
return {
type: "Sr25519",
value: T.alice.sign(message),
};
})
.signed((message) => ({
type: "Sr25519",
value: T.alice.sign(message),
}))
.watch((stop) => {
return (event) => {
if (typeof event.params.result === "string") {
Expand Down

0 comments on commit 7eddfac

Please sign in to comment.