Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[transactions] Fix change address for mixed sends #3553

Merged
merged 3 commits into from
Sep 17, 2021

Conversation

alexlyp
Copy link
Member

@alexlyp alexlyp commented Sep 10, 2021

Fixes #3541

Previously change addresses were the same as the sent addresses for mixed sends.
This adds a new action for getting new change addresses. This allows us to get new change addresses without messing with the new address requests which also change various GUI elements (receive account select).

Copy link
Collaborator

@bgptr bgptr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works as expected.

@@ -679,6 +704,7 @@ export const constructTransactionAttempt = (

dispatch({ type: CONSTRUCTTX_ATTEMPT, constructTxRequestAttempt: true });
try {
console.log("there?", change);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

console.log

@@ -3,7 +3,8 @@ var exec = require('child_process').exec;
var os = require('os');

if (os.type() === 'Linux' || os.type() === 'Darwin' )
exec("rm -rf bin/site && cp -R ./node_modules/dcrdex-assets/dexc/site bin/");
//exec("rm -rf bin/site && cp -R ./node_modules/dcrdex-assets/dexc/site bin/");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comment

@alexlyp alexlyp merged commit 03d712b into decred:master Sep 17, 2021
@alexlyp alexlyp deleted the ayp_change_address branch September 17, 2021 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change amount from mixed account to DEX
4 participants