File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Create an instance:
17
17
``` python
18
18
from ic.principal import Principal
19
19
p = Principal() # default is management canister id `aaaaa-aa`
20
- p1 = Principal(bytes = xxx ) # create an instance from bytes
20
+ p1 = Principal(bytes = b ' ' ) # create an instance from bytes
21
21
p2 = Principal.anonymous() # create anonymous principal
22
22
p3 = Principal.self_authenticating(pubkey) # create a principal from public key
23
23
p4 = Principal.from_str(' aaaaa-aa' ) # create an instance from string
@@ -83,7 +83,7 @@ Create an instance:
83
83
``` python
84
84
from ic.client import Client
85
85
from ic.identity import Identity
86
- from ic.Agent import Agent
86
+ from ic.agent import Agent
87
87
# Identity and Client are dependencies of Agent
88
88
iden = Identity()
89
89
client = Client()
You can’t perform that action at this time.
0 commit comments