mirror of
https://github.com/bigchaindb/site.git
synced 2024-11-22 01:36:55 +01:00
update code example
This commit is contained in:
parent
8c2500c93f
commit
b6b5ca0441
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user