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:
1717``` python
1818from ic.principal import Principal
1919p = 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
2121p2 = Principal.anonymous() # create anonymous principal
2222p3 = Principal.self_authenticating(pubkey) # create a principal from public key
2323p4 = Principal.from_str(' aaaaa-aa' ) # create an instance from string
@@ -83,7 +83,7 @@ Create an instance:
8383``` python
8484from ic.client import Client
8585from ic.identity import Identity
86- from ic.Agent import Agent
86+ from ic.agent import Agent
8787# Identity and Client are dependencies of Agent
8888iden = Identity()
8989client = Client()
You can’t perform that action at this time.
0 commit comments