From b6b5ca0441f3a20f7981e67654c45e76d28ae94e Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Wed, 2 May 2018 18:53:37 +0200 Subject: [PATCH] update code example --- _src/developers/getstarted.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_src/developers/getstarted.html b/_src/developers/getstarted.html index c3fbbf3..ed5c763 100644 --- a/_src/developers/getstarted.html +++ b/_src/developers/getstarted.html @@ -120,7 +120,7 @@ const tx = driver.Transaction.makeCreateTransaction( driver.Transaction.makeEd25519Condition(alice.publicKey))], alice.publicKey) const txSigned = driver.Transaction.signTransaction(tx, alice.privateKey) -conn.postTransactionSync(txSigned) +conn.postTransactionCommit(txSigned) ``` {% endcapture %}{{ nodejs | markdownify }}