1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-21 17:26:55 +01:00

update code example

This commit is contained in:
Matthias Kretschmann 2018-05-02 18:53:37 +02:00
parent 8c2500c93f
commit b6b5ca0441
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -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 }}
</div>