Skip to content
Snippets Groups Projects
Commit a668b3c7 authored by Moul's avatar Moul
Browse files

[fix] #37: examples: update documents to version 10.

parent f9ba0c90
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ def get_identity_document(current_block, uid, salt, password):
# create identity document
identity = Identity(
version=2,
version=10,
currency=current_block['currency'],
pubkey=key.pubkey,
uid=uid,
......@@ -76,7 +76,7 @@ def get_membership_document(mtype, current_block, identity, salt, password):
# create identity document
membership = Membership(
version=2,
version=10,
currency=current_block['currency'],
issuer=key.pubkey,
membership_ts=timestamp,
......
......@@ -24,7 +24,7 @@ BMA_ENDPOINT = "BASIC_MERKLED_API g1.duniter.org 10901"
AIOHTTP_SESSION = aiohttp.ClientSession()
# Version of the transaction document
TRANSACTION_VERSION = 3
TRANSACTION_VERSION = 10
def get_transaction_document(current_block, source, from_pubkey, to_pubkey):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment