-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix bucket.Create method description (#201)
* fix bucket.Create method Escrow `Bucket.Create` method and documentation is updated to be acurate. fix #170 * replace escrow.Bucket.Create with Build method Rename `Create` to `Build` and update documentation. Create method should persist returned object in the store. Because of how escrow extension is implemented, a zero value escrow instance cannot be persisted due to validation. Escrow controller is expecting a zero amount escrow instance, that it will deposit initial amount to. Rename `Create` to `Build` so that the logic can remain as is, but the confusing naming is fixed.
- Loading branch information
Showing
3 changed files
with
7 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters