We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11399ae commit e296d16Copy full SHA for e296d16
sdk/pubkey/README.md
@@ -25,7 +25,7 @@ pinocchio_pubkey::declare_id!("Ping111111111111111111111111111111111111111");
25
26
Creating a `Pubkey` from a `&str`:
27
```rust
28
-let owner = pinocchio_pubkey::decode("7qtAvP4CJuSKauWHtHZJt9wmQRgvcFeUcU3xKrFzxKf1");
+let owner = pinocchio_pubkey::from_str("7qtAvP4CJuSKauWHtHZJt9wmQRgvcFeUcU3xKrFzxKf1");
29
```
30
31
## License
0 commit comments