-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: make add_tx_input take kwargs (#341)
Motivation: subsequent PRs will want to use: ```rust add_tx_input!(tx_hash: ..., address: ...) ``` which was impossible under the previous implementation, due to the macro not being able to differentiate between the above and the `add_tx_input(tip,tx_hash)` variant (the args are untyped). Note: only kwargs were added, no changes in tests themselves. Co-Authored-By: Gilad Chase <[email protected]>
- Loading branch information
1 parent
a29c6a0
commit e51ec09
Showing
1 changed file
with
29 additions
and
29 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