Skip to content

Commit

Permalink
fix(Payment Request): correctly create to value from external url
Browse files Browse the repository at this point in the history
  • Loading branch information
plondon committed Jun 4, 2019
1 parent 86f8def commit 5d9e062
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -69,11 +69,14 @@ export default ({ coreSagas, networks }) => {
payment.value()
)
payment = yield payment.fee(defaultFeePerByte)
if (to) {
payment = yield payment.to(to, ADDRESS_TYPES.ADDRESS)
}
const initialValues = {
to,
coin: 'BTC',
amount,
description,
to: { value: { value: to, label: to } },
from: from || defaultAccountR.getOrElse(),
feePerByte: defaultFeePerByte
}
Expand Down

0 comments on commit 5d9e062

Please sign in to comment.