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

txnbuild: Initialise transaction envelope in build #1376

Merged
merged 1 commit into from
Jun 20, 2019

Conversation

OwenJacob
Copy link
Contributor

Instead of building the transaction envelope at the start of Sign we can do this at the end of build. This allows an unsigned envelope to be returned for signing offline/elsewhere

Fix for: #956

This is my first ever PR on Github so hopefully I got this bit right :)

@poliha
Copy link
Contributor

poliha commented Jun 19, 2019

@OwenJacob this looks good. Can you rebase this to master? Also, I think you need to run gofmt to fix the CI checks. The current tests for txnbuild package are still relevant for this change so no new tests are needed. Thanks

@poliha poliha added this to the horizonclient 1.3.0 milestone Jun 19, 2019
@OwenJacob
Copy link
Contributor Author

@poliha I've fixed the gofmt issue. I see another CI test has failed presumably because my fork or branch or something is behind stellar:master - I think this is why I need to rebase to master but could you give me some guidance please? I'm not familiar with rebasing sorry and I'm a bit lost

Instead of building the transaction envelope at the start of Sign we can do this at the end of build. This allows an unsigned envelope to be returned for signing offline/elsewhere

Fix for: stellar#956
@OwenJacob
Copy link
Contributor Author

@poliha think I got it right now :)

Note to self for future reference

Copy link
Contributor

@poliha poliha left a comment

Choose a reason for hiding this comment

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

All good. 👍

@poliha poliha merged commit 078fa57 into stellar:master Jun 20, 2019
@OwenJacob OwenJacob deleted the patch-1 branch June 21, 2019 01:30
oryband pushed a commit to kinecosystem/go that referenced this pull request Jul 22, 2019
Instead of building the transaction envelope at the start of Sign we can do this at the end of build. This allows an unsigned envelope to be returned for signing offline/elsewhere

Fix for: stellar#956
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.

2 participants