Fix longer signers_sign signing
This commit is contained in:
parent
8fdfba97d9
commit
b584c586ec
1 changed files with 2 additions and 3 deletions
|
@ -622,9 +622,8 @@ class ContentManager(object):
|
||||||
|
|
||||||
if inner_path == "content.json" and privatekey_address == self.site.address:
|
if inner_path == "content.json" and privatekey_address == self.site.address:
|
||||||
# If signing using the root key, then sign the valid signers
|
# If signing using the root key, then sign the valid signers
|
||||||
new_content["signers_sign"] = CryptBitcoin.sign(
|
signers_data = "%s:%s" % (new_content["signs_required"], ",".join(valid_signers))
|
||||||
"%s:%s" % (new_content["signs_required"], ",".join(valid_signers)), privatekey
|
new_content["signers_sign"] = CryptBitcoin.sign(str(signers_data), privatekey)
|
||||||
)
|
|
||||||
if not new_content["signers_sign"]:
|
if not new_content["signers_sign"]:
|
||||||
self.log.info("Old style address, signers_sign is none")
|
self.log.info("Old style address, signers_sign is none")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue