diff --git a/src/config/testing.js b/src/config/testing.js index 7f63e89a..b1b55759 100644 --- a/src/config/testing.js +++ b/src/config/testing.js @@ -2,7 +2,7 @@ import { TX_SERVICE_HOST } from '~/config/names' const testConfig = { - [TX_SERVICE_HOST]: 'http://localhost:8080/api/v1/', + [TX_SERVICE_HOST]: 'http://localhost:8000/api/v1/', } export default testConfig diff --git a/src/wallets/createTransactions.js b/src/wallets/createTransactions.js index 9379558b..6ccace90 100644 --- a/src/wallets/createTransactions.js +++ b/src/wallets/createTransactions.js @@ -120,7 +120,7 @@ export const createTransaction = async ( const txHash = await approveTransaction(safeAddress, to, valueInWei, data, CALL, nonce, sender) // TODO Remove when TX History service is fully integrated - const confirmations: List = buildConfirmationsFrom(owners, to, txHash) + const confirmations: List = buildConfirmationsFrom(owners, sender, txHash) // TODO Remove when TX History service is fully integrated return storeTransaction(name, nonce, to, value, sender, confirmations, '', safeAddress, threshold, data) diff --git a/src/wallets/safeTxHistory.js b/src/wallets/safeTxHistory.js index 0d369c0c..9b11c86f 100644 --- a/src/wallets/safeTxHistory.js +++ b/src/wallets/safeTxHistory.js @@ -64,7 +64,7 @@ export const submitOperation = async ( body, }) - if (response.status !== 201) { + if (response.status !== 202) { return Promise.reject(new Error('Error submitting the transaction')) }