-
Notifications
You must be signed in to change notification settings - Fork 72
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
change fund to top off if balance below 10k xlm #1478
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yay easy top ups!
I'd like to roll this change back and move ahead with making this change in friendbot. See my comments on the original issue here: |
Sounds good to me, friendbot is definitely the way to go about it. Perhaps once that is merged into a release we can roll this change back? I do need it for this issue which I will be working on soon: #1380 |
@leighmcculloch Our original thoughts were this was a stop gap measure while it was added to friendbot. That is the definitely the proper solution. |
Friendbot has been updated with the following change and that change is rolled out: So we should be good to roll this back now. Note that the errors friendbot changed slightly, instead of the created error, it returns the following if the account is already funded at or above the starting balance of 10k:
|
This reverts commit 3474c73.
I opened this revert, but I'll hold it until @BlaineHeffron or @willemneal if you can confirm if a complete revert is okay or if any of the change needs keeping. Thanks! |
What
When using
stellar network fund
it will now top off the balance if the account exists and has a balance lower than 10k XLM.Why
This makes
fund
more useful because now one doesn't need to create a temporary account and transfer funds from that temporary account in order to add funds. Before,fund
only created an account that didn't exist and added funds to it. See #1389Known limitations
N/A