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

switch to postTransactionCommit

This commit is contained in:
Matthias Kretschmann 2018-05-02 18:09:02 +02:00
parent 379932b630
commit eaa5e38b20
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -141,7 +141,7 @@ window.addEventListener('DOMContentLoaded', function domload(event) {
const messageFail = document.getElementsByClassName('message--fail')[0] const messageFail = document.getElementsByClassName('message--fail')[0]
const transactionLink = document.getElementsByClassName('transaction-link')[0] const transactionLink = document.getElementsByClassName('transaction-link')[0]
conn.postTransactionSync(txSigned).then((response) => { conn.postTransactionCommit(txSigned).then((response) => {
waiting.classList.add('hide') waiting.classList.add('hide')
messageInitial.classList.add('hide') messageInitial.classList.add('hide')
responseArea.classList.remove('hide') responseArea.classList.remove('hide')