mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Fix tests, alles is green now yay
This commit is contained in:
parent
815b4318ba
commit
13b5d8eab9
@ -482,10 +482,10 @@ class Bigchain(object):
|
|||||||
block (Block): block to write to bigchain.
|
block (Block): block to write to bigchain.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
self.backend.write_block(block.to_str(), durability=durability)
|
return self.backend.write_block(block.to_str(), durability=durability)
|
||||||
|
|
||||||
def transaction_exists(self, transaction_id):
|
def transaction_exists(self, transaction_id):
|
||||||
self.backend.has_transaction(transaction_id)
|
return self.backend.has_transaction(transaction_id)
|
||||||
|
|
||||||
def prepare_genesis_block(self):
|
def prepare_genesis_block(self):
|
||||||
"""Prepare a genesis block."""
|
"""Prepare a genesis block."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user