Skip to content

Commit e296d16

Browse files
authored
Update example
1 parent 11399ae commit e296d16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/pubkey/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pinocchio_pubkey::declare_id!("Ping111111111111111111111111111111111111111");
2525

2626
Creating a `Pubkey` from a `&str`:
2727
```rust
28-
let owner = pinocchio_pubkey::decode("7qtAvP4CJuSKauWHtHZJt9wmQRgvcFeUcU3xKrFzxKf1");
28+
let owner = pinocchio_pubkey::from_str("7qtAvP4CJuSKauWHtHZJt9wmQRgvcFeUcU3xKrFzxKf1");
2929
```
3030

3131
## License

0 commit comments

Comments
 (0)