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

Merge pull request #250 from bigchaindb/examples-fix

remove unnecessary line
This commit is contained in:
Matthias Kretschmann 2018-07-09 14:53:04 +02:00 committed by GitHub
commit 8982123106
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,7 +107,6 @@ Based on that, we can now create the transfer transaction:
```js ```js
function transferOwnership(txCreatedID, newOwner) { function transferOwnership(txCreatedID, newOwner) {
const newUser = new BigchainDB.Ed25519Keypair()
// Get transaction payload by ID // Get transaction payload by ID
conn.getTransaction(txCreatedID) conn.getTransaction(txCreatedID)
.then((txCreated) => { .then((txCreated) => {