diff --git a/examples/posting.js b/examples/posting.js index 1c2d75f..8a92dce 100644 --- a/examples/posting.js +++ b/examples/posting.js @@ -19,7 +19,7 @@ var meta_json = { var plink = 'xxx-yyy-zzzzzz'; var category = 'travel' -var tx = remote.creatTransaction(MY_ACCOUNT); +var tx = remote.createTransaction(MY_ACCOUNT); tx.comment({ parent_author: "", @@ -34,4 +34,4 @@ tx.comment({ tx.broadcast(function (err, res){ // submission result. console.log(err, res) -}); \ No newline at end of file +});