mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
(fix): add private_key of node to bigchain instance
This commit is contained in:
parent
8c46cc3fb4
commit
940a0cd4df
@ -213,7 +213,7 @@ def main():
|
||||
|
||||
# vote
|
||||
DUMMY_SHA3 = '0123456789abcdef' * 4
|
||||
b = Bigchain(public_key=node_public)
|
||||
b = Bigchain(public_key=node_public, private_key=node_private)
|
||||
vote = b.vote(block.id, DUMMY_SHA3, True)
|
||||
vote_json = json.dumps(vote, indent=2, sort_keys=True)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user