1
0
mirror of https://github.com/bigchaindb/js-bigchaindb-driver.git synced 2024-12-27 23:27:50 +01:00

resolve promise to avoid invalid input

This commit is contained in:
manolodewiner 2018-05-23 14:33:45 +02:00
parent 9163284b4a
commit 4639acbd34

View File

@ -145,7 +145,7 @@ test('Valid TRANSFER transaction with multiple Ed25519 inputs from different tra
)
return conn.postTransactionCommit(transferTxSigned1)
.then(conn.postTransactionCommit(transferTxSigned2))
.then(() => conn.postTransactionCommit(transferTxSigned2))
.then(() => {
const transferTxMultipleInputs = Transaction.makeTransferTransaction(
[{ tx: transferTxSigned1, output_index: 0 },