| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -94,4 +94,5 @@ class AccountUpdate(GrapheneAccountUpdate): | |||
| 94 | 94 | ||
| 95 | 95 | """ | |
| 96 | 96 | ||
| 97 | - account_class = Account | ||
| 97 | + def define_classes(self): | ||
| 98 | + self.account_class = Account | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,6 +8,13 @@ | |||
| 8 | 8 | ||
| 9 | 9 | @BlockchainInstance.inject | |
| 10 | 10 | class Message(GrapheneMessage): | |
| 11 | + MESSAGE_SPLIT = ( | ||
| 12 | + "-----BEGIN BITSHARES SIGNED MESSAGE-----", | ||
| 13 | + "-----BEGIN META-----", | ||
| 14 | + "-----BEGIN SIGNATURE-----", | ||
| 15 | + "-----END BITSHARES SIGNED MESSAGE-----", | ||
| 16 | + ) | ||
| 17 | + | ||
| 11 | 18 | def define_classes(self): | |
| 12 | 19 | self.account_class = Account | |
| 13 | 20 | self.publickey_class = PublicKey | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,6 +5,6 @@ coverage | |||
| 5 | 5 | mock | |
| 6 | 6 | ||
| 7 | 7 | # Code style | |
| 8 | - black | ||
| 8 | + # black | ||
| 9 | 9 | isort | |
| 10 | 10 | pre-commit | |
| Back | FazBrowse Home | New Git URL |
0 commit comments