Skip to content

Commit 047bbbe

Browse files
committed
docs: update sp code key params in docs example
1 parent 4a1ff1b commit 047bbbe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ cargo run --features rpc -- wallet --wallet payjoin_wallet2 send_payjoin --ohttp
161161
162162
To experiment with silent payments, you can get two public keys in compressed or uncompressed format, `A1` and `A2`, and produce a silent payment code by calling:
163163
```shell
164-
cargo run --features silent-payments -- --network signet silent_payment_code --scan_public_key '<A1>' --spend_public_key '<A2>'
164+
cargo run --features silent-payments -- --network signet silent_payment_code --scan_key '<A1>' --spend_key '<A2>'
165165
```
166166

167167
Once you have a silent payment code, `SP_CODE_1` and an amount `AMOUNT_1` to send, you can create a valid transaction locking funds to a silent payment code derived address with the following command:

0 commit comments

Comments
 (0)