Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit

Permalink
fix: wrong API parameter when refunding swaps (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael1011 authored Aug 27, 2019
1 parent 5de799c commit 5eb248b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/actions/refundActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export const startRefund = (
axios
.post(url, {
currency,
transactionHash,
transactionId: transactionHash,
})
.then(response => {
dispatch(
Expand Down
4 changes: 2 additions & 2 deletions src/views/refund/steps/InputDestinationAddress.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React from 'react';
import injectSheet from 'react-jss';
import PropTypes from 'prop-types';
import { getCurrencyName } from '../../../utils';
import View from '../../../components/view';
import InputArea from '../../../components/inputarea';
import { getCurrencyName, getSampleAddress } from '../../../utils';

const InputDestinationAddressStyles = theme => ({
wrapper: {
Expand Down Expand Up @@ -36,7 +36,7 @@ const StyledInputDestinationAddress = ({
height={150}
width={500}
onChange={setDestinationAddress}
placeholder={'tb1qjnxa3c36s524qv4uqsclcjefuxrgzktcrky4zd'}
placeholder={`EG: ${getSampleAddress(currency)}`}
/>
</View>
);
Expand Down

0 comments on commit 5eb248b

Please sign in to comment.