Unverified Commit e4179cab authored by emostov's avatar emostov
Browse files

Fix accidental regression in example

parent 3597e436
......@@ -53,7 +53,7 @@ async function main(): Promise<void> {
// Now we can create our `balances.transfer` unsigned tx. The following
// function takes the above data as arguments, so can be performed offline
// if desired.
const unsigned = methods.staking.validate(
const unsigned = methods.balances.transfer(
{
value: '90071992547409910',
dest: '14E5nqKAp3oAJcmzgZhUD2RcptBeUBScxKHgJKU4HPNcKVf3', // Bob
......@@ -78,8 +78,6 @@ async function main(): Promise<void> {
}
);
console.log(method);
// Decode an unsigned transaction.
const decodedUnsigned = decode(
unsigned,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment