Problem: send function has a deprecation warning in the driver (#2547)

Solution: replace send with the matching new functions
This commit is contained in:
codegeschrei
2018-09-20 10:31:05 +02:00
committed by Troy McConaghy
parent 2f6bbaeb4b
commit 407571ddf4
6 changed files with 10 additions and 12 deletions

View File

@@ -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