Skip to content

Drop the unnecessary networkPassphrase parameter#870

Merged
Shaptic merged 5 commits into
masterfrom
rpc-no-passphrase
Oct 24, 2023
Merged

Drop the unnecessary networkPassphrase parameter#870
Shaptic merged 5 commits into
masterfrom
rpc-no-passphrase

Conversation

@Shaptic

@Shaptic Shaptic commented Oct 23, 2023

Copy link
Copy Markdown
Contributor

The network passphrase is part of the transaction object we've been passing around, so there's no need for an explicit networkPassphrase parameter and/or unnecessary getNetwork call.

@Shaptic Shaptic requested a review from sreuland October 23, 2023 22:57
@github-actions

github-actions Bot commented Oct 23, 2023

Copy link
Copy Markdown

Size Change: -6.38 kB (0%)

Total Size: 12.1 MB

Filename Size Change
dist/stellar-sdk.js 6.96 MB -4.2 kB (0%)
dist/stellar-sdk.min.js 5.1 MB -2.18 kB (0%)

compressed-size-action

@sreuland sreuland left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

looks good, for consistency, could also remove the js doc param referring to passphrase on assembleTransaction

@Shaptic

Shaptic commented Oct 24, 2023

Copy link
Copy Markdown
Contributor Author

great catch! fixed :shipit:

@Shaptic Shaptic merged commit 2891ee1 into master Oct 24, 2023
@Shaptic Shaptic deleted the rpc-no-passphrase branch October 24, 2023 17:56
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