diff --git a/docs/source/readme.rst b/docs/source/readme.rst index 83c2281..cddd8c3 100644 --- a/docs/source/readme.rst +++ b/docs/source/readme.rst @@ -62,7 +62,8 @@ transaction should be now: const createTranfer = BigchainDB.Transaction.makeTransferTransaction( [{ tx: txCreated, output_index: 0 }], - [aliceOutput], + [BigchainDB.Transaction.makeOutput( + BigchainDB.Transaction.makeEd25519Condition(alice.publicKey))], metaData ) @@ -80,7 +81,8 @@ transaction spending two outputs from two different create transactions: const createTranfer = BigchainDB.Transaction.makeTransferTransaction( [{ tx: txCreated1, output_index: 0 }, M{ tx: txCreated2, output_index: 0}], - [aliceOutput], + [BigchainDB.Transaction.makeOutput( + BigchainDB.Transaction.makeEd25519Condition(alice.publicKey))], metaData )