Skip to content

Commit e9b3a40

Browse files
committed
Fix typos
Codespell CI action found these typos.
1 parent a071022 commit e9b3a40

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

payjoin-ffi/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
- Rename to payjoin-ffi from payjoin_ffi to match bitcoin-ffi
1010

1111
## [0.22.1]
12-
- Expose label and messge params on Uri. ([#44](https://github.com/LtbLightning/payjoin-ffi/pull/44))
12+
- Expose label and message params on Uri. ([#44](https://github.com/LtbLightning/payjoin-ffi/pull/44))
1313

1414
## [0.22.0]
1515
- Update `payjoin` to `0.22.0`. (Serialize reply_key with Sender [#41](https://github.com/LtbLightning/payjoin-ffi/pull/41))
@@ -81,4 +81,4 @@ This release updates the bindings libraries to `payjoin` version `0.18.0`.
8181
- `V2ProvisionalProposal` exposes `substitute_output_address`, `contribute_non_witness_input`, `contribute_witness_input`, `try_preserving_privacy` &
8282
`finalize_proposal`.
8383
- `V2PayjoinProposal` exposes `deserialize_res`, `extract_v1_req`, `extract_v2_req`, `is_output_substitution_disabled`, `owned_vouts`, `psbt` &
84-
`utxos_to_be_locked`.
84+
`utxos_to_be_locked`.

payjoin-ffi/python/test/test_payjoin_unit_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def load(self, token: payjoin.ReceiverToken) -> payjoin.Receiver:
6363
return payjoin.Receiver.from_json(self.receivers[token])
6464

6565

66-
class TestRecieverPersistence(unittest.TestCase):
66+
class TestReceiverPersistence(unittest.TestCase):
6767
def test_receiver_persistence(self):
6868
persister = InMemoryReceiverPersister()
6969
address = payjoin.bitcoin.Address("tb1q6d3a2w975yny0asuvd9a67ner4nks58ff0q8g4", payjoin.bitcoin.Network.SIGNET)
@@ -102,8 +102,8 @@ def test_sender_persistence(self):
102102
None
103103
)
104104
token = new_receiver.persist(persister)
105-
reciever = payjoin.Receiver.load(token, persister)
106-
uri = reciever.pj_uri()
105+
receiver = payjoin.Receiver.load(token, persister)
106+
uri = receiver.pj_uri()
107107

108108
persister = InMemorySenderPersister()
109109
psbt = "cHNidP8BAHMCAAAAAY8nutGgJdyYGXWiBEb45Hoe9lWGbkxh/6bNiOJdCDuDAAAAAAD+////AtyVuAUAAAAAF6kUHehJ8GnSdBUOOv6ujXLrWmsJRDCHgIQeAAAAAAAXqRR3QJbbz0hnQ8IvQ0fptGn+votneofTAAAAAAEBIKgb1wUAAAAAF6kU3k4ekGHKWRNbA1rV5tR5kEVDVNCHAQcXFgAUx4pFclNVgo1WWAdN1SYNX8tphTABCGsCRzBEAiB8Q+A6dep+Rz92vhy26lT0AjZn4PRLi8Bf9qoB/CMk0wIgP/Rj2PWZ3gEjUkTlhDRNAQ0gXwTO7t9n+V14pZ6oljUBIQMVmsAaoNWHVMS02LfTSe0e388LNitPa1UQZyOihY+FFgABABYAFEb2Giu6c4KO5YW0pfw3lGp9jMUUAAA="

payjoin-ffi/src/io.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pub mod error {
1818

1919
/// Fetch the ohttp keys from the specified payjoin directory via proxy.
2020
///
21-
/// * `ohttp_relay`: The http CONNNECT method proxy to request the ohttp keys from a payjoin
21+
/// * `ohttp_relay`: The http CONNECT method proxy to request the ohttp keys from a payjoin
2222
/// directory. Proxying requests for ohttp keys ensures a client IP address is never revealed to
2323
/// the payjoin directory.
2424
///
@@ -36,7 +36,7 @@ pub async fn fetch_ohttp_keys(
3636

3737
/// Fetch the ohttp keys from the specified payjoin directory via proxy.
3838
///
39-
/// * `ohttp_relay`: The http CONNNECT method proxy to request the ohttp keys from a payjoin
39+
/// * `ohttp_relay`: The http CONNECT method proxy to request the ohttp keys from a payjoin
4040
/// directory. Proxying requests for ohttp keys ensures a client IP address is never revealed to
4141
/// the payjoin directory.
4242
///

payjoin-ffi/src/receive/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -496,9 +496,9 @@ impl PayjoinProposal {
496496

497497
// fn get_proposal_from_test_vector() -> Result<UncheckedProposal, Error> {
498498
// // OriginalPSBT Test Vector from BIP
499-
// // | InputScriptType | Orginal PSBT Fee rate | maxadditionalfeecontribution | additionalfeeoutputindex|
500-
// // |-----------------|-----------------------|------------------------------|-------------------------|
501-
// // | P2SH-P2WPKH | 2 sat/vbyte | 0.00000182 | 0 |
499+
// // | InputScriptType | Original PSBT Fee rate | maxadditionalfeecontribution | additionalfeeoutputindex|
500+
// // |-----------------|------------------------|------------------------------|-------------------------|
501+
// // | P2SH-P2WPKH | 2 sat/vbyte | 0.00000182 | 0 |
502502
// let original_psbt =
503503
// "cHNidP8BAHMCAAAAAY8nutGgJdyYGXWiBEb45Hoe9lWGbkxh/6bNiOJdCDuDAAAAAAD+////AtyVuAUAAAAAF6kUHehJ8GnSdBUOOv6ujXLrWmsJRDCHgIQeAAAAAAAXqRR3QJbbz0hnQ8IvQ0fptGn+votneofTAAAAAAEBIKgb1wUAAAAAF6kU3k4ekGHKWRNbA1rV5tR5kEVDVNCHAQcXFgAUx4pFclNVgo1WWAdN1SYNX8tphTABCGsCRzBEAiB8Q+A6dep+Rz92vhy26lT0AjZn4PRLi8Bf9qoB/CMk0wIgP/Rj2PWZ3gEjUkTlhDRNAQ0gXwTO7t9n+V14pZ6oljUBIQMVmsAaoNWHVMS02LfTSe0e388LNitPa1UQZyOihY+FFgABABYAFEb2Giu6c4KO5YW0pfw3lGp9jMUUAAA=";
504504
// let body = original_psbt.as_bytes();

payjoin-ffi/src/receive/uni.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ pub trait CanBroadcast: Send + Sync {
173173

174174
/// The sender’s original PSBT and optional parameters
175175
///
176-
/// This type is used to proces the request. It is returned by UncheckedProposal::from_request().
176+
/// This type is used to process the request. It is returned by UncheckedProposal::from_request().
177177
///
178178
/// If you are implementing an interactive payment processor, you should get extract the original transaction with get_transaction_to_schedule_broadcast() and schedule, followed by checking that the transaction can be broadcast with check_can_broadcast. Otherwise it is safe to call assume_interactive_receive to proceed with validation.
179179
#[derive(Clone, uniffi::Object)]

0 commit comments

Comments
 (0)