Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
jernejpregelj committed Apr 7, 2018
1 parent db085ba commit 375bdfd
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion dist/browser/bigchaindb-orm.amd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/browser/bigchaindb-orm.amd.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/browser/bigchaindb-orm.cjs.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/browser/bigchaindb-orm.cjs.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/browser/bigchaindb-orm.cjs2.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/browser/bigchaindb-orm.cjs2.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/browser/bigchaindb-orm.umd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/browser/bigchaindb-orm.umd.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/browser/bigchaindb-orm.window.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/browser/bigchaindb-orm.window.min.js.map

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions dist/node/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ var Connection = function () {
key: 'transferTransaction',
value: function transferTransaction(tx, fromPublicKey, fromPrivateKey, toPublicKey, metadata) {
try {
var txTransfer = driver.Transaction.makeTransferTransaction(tx, metadata, [driver.Transaction.makeOutput(driver.Transaction.makeEd25519Condition(toPublicKey))], 0);

var txTransfer = driver.Transaction.makeTransferTransaction([{ 'tx': tx, 'output_index': 0 }], [driver.Transaction.makeOutput(driver.Transaction.makeEd25519Condition(toPublicKey))], metadata);
var txTransferSigned = driver.Transaction.signTransaction(txTransfer, fromPrivateKey);
// send it off to BigchainDB
return this.conn.postTransactionCommit(txTransferSigned).then(function () {
Expand Down

0 comments on commit 375bdfd

Please sign in to comment.