Author

Topic: Armory transaction creation and signing (Read 527 times)

legendary
Activity: 3640
Merit: 1345
Armory Developer
October 22, 2015, 11:23:36 AM
#2
Hi all

When I use this:
TheBDM.Reset(wait=True)
TheBDM.setBlocking(True)
TheBDM.setOnlineMode(True)
on my script it returns an error:

That's 0.92 and older code. The code changed, not the website (sorry about that!)

You should use what you see in the examples.
newbie
Activity: 20
Merit: 0
October 22, 2015, 08:47:33 AM
#1
Hi all

When I use this:
TheBDM.Reset(wait=True)
TheBDM.setBlocking(True)
TheBDM.setOnlineMode(True)
on my script it returns an error:

ERROR) Traceback (most recent call last):
  File "createTxFromAddrList2.py", line 163, in
    txdp = createTxFromAddrList(wlt, addrList, recipList, 310000, sendChangeTo)
  File "createTxFromAddrList2.py", line 44, in createTxFromAddrList
    TheBDM.setOnlineMode(True)
AttributeError: 'BlockDataManager' object has no attribute 'setOnlineMode'

on the Armory website Alan says we should, (replace any BDM_LoadBlockchain() calls with TheBDM.setOnlineMode(True)):

But on this script: createTxFromAddrList.py. I couldn't find a single BDM_LoadBlockchain()

Please help...It will be much appreciated.
Jump to: