Skip to content

Commit

Permalink
Merge pull request #4271 from eval-exec/exec/fix-OutputsValidator
Browse files Browse the repository at this point in the history
Fix `PoolRpc::send_transaction` param `outputs_validator` default value should be `passthrough`
  • Loading branch information
eval-exec authored Dec 21, 2023
2 parents 7ba53f3 + 542fe10 commit 7a3e0b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rpc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4399,7 +4399,7 @@ Please note that `send_transaction` is an asynchronous process. The return of `s

* `transaction` - The transaction.

* `outputs_validator` - Validates the transaction outputs before entering the tx-pool. (**Optional**, default is “well_known_scripts_only”).
* `outputs_validator` - Validates the transaction outputs before entering the tx-pool. (**Optional**, default is “passthrough”).

###### Errors

Expand Down
2 changes: 1 addition & 1 deletion rpc/src/module/pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub trait PoolRpc {
/// ## Params
///
/// * `transaction` - The transaction.
/// * `outputs_validator` - Validates the transaction outputs before entering the tx-pool. (**Optional**, default is "well_known_scripts_only").
/// * `outputs_validator` - Validates the transaction outputs before entering the tx-pool. (**Optional**, default is "passthrough").
///
/// ## Errors
///
Expand Down

0 comments on commit 7a3e0b7

Please sign in to comment.