mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Problem: send function has a deprecation warning in the driver (#2547)
Solution: replace send with the matching new functions
This commit is contained in:
committed by
Troy McConaghy
parent
2f6bbaeb4b
commit
407571ddf4
@@ -54,7 +54,7 @@ def send_naughty_tx(asset, metadata):
|
||||
|
||||
# The fulfilled tx gets sent to the BDB network
|
||||
try:
|
||||
sent_transaction = bdb.transactions.send(fulfilled_transaction)
|
||||
sent_transaction = bdb.transactions.send_commit(fulfilled_transaction)
|
||||
except BadRequest as e:
|
||||
sent_transaction = e
|
||||
|
||||
|
||||
Reference in New Issue
Block a user