Skip to content

Commit

Permalink
Using upper case output for the CRC (#32)
Browse files Browse the repository at this point in the history
Seems like a lowercase CRC suffix for the canister ID leads to problems when trying to follow the url. It should probably be uppercase by default.
  • Loading branch information
letmejustputthishere authored Jun 10, 2020
1 parent f11b9f5 commit 6ac43e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ Open the canister frontend in your web browser.

```bash
ID=$(xxd -u -p canisters/linkedup/_canister.id)
CRC=$(python2 -c "import crc8;h=crc8.crc8();h.update('$ID'.decode('hex'));print(h.hexdigest())")
CRC=$(python2 -c "import crc8;h=crc8.crc8();h.update('$ID'.decode('hex'));print(h.hexdigest().upper())")
xdg-open "http://127.0.0.1:8000/?canisterId=ic:$ID$CRC"
```

0 comments on commit 6ac43e6

Please sign in to comment.