Skip to content

Commit ccc113c

Browse files
christophersanbornxeroc
authored andcommitted
Rename voting ticket methods
1 parent f3847ba commit ccc113c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bitshares/bitshares.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1691,7 +1691,7 @@ def htlc_redeem(self, htlc_id, preimage, encoding="utf-8", account=None, **kwarg
16911691
return self.finalizeOp(op, account, "active", **kwargs)
16921692

16931693

1694-
def voting_ticket_create(self, target_type, amount_to_lock, account=None, **kwargs):
1694+
def create_voting_ticket(self, target_type, amount_to_lock, account=None, **kwargs):
16951695
""" Create a voting ticket
16961696
16971697
:param int,str target_type: Lock period target. Should be a string from
@@ -1724,7 +1724,7 @@ def voting_ticket_create(self, target_type, amount_to_lock, account=None, **kwar
17241724
return self.finalizeOp(op, account, "active", **kwargs)
17251725

17261726

1727-
def voting_ticket_update(self, ticket_id, new_target_type, amount_to_update,
1727+
def update_voting_ticket(self, ticket_id, new_target_type, amount_to_update,
17281728
account=None, **kwargs):
17291729
"""Update a voting ticket
17301730

0 commit comments

Comments
 (0)