Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some typos #273

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion csvtools.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def dumptxaddr_csv(csvwb, rawtx, Protocol, TxDBSerialNum):
#Now start updating the crowdsale propertyid balance info
PropertyID = rawtx['result']['purchasedpropertyid']

#add additional functionalty to check/credit the issue when there is a % bonus to issuer
#add additional functionality to check/credit the issue when there is a % bonus to issuer
cstx = getcrowdsale_MP(PropertyID)
if cstx['result']['percenttoissuer'] > 0:
if getdivisible_MP(PropertyID):
Expand Down
2 changes: 1 addition & 1 deletion database/scripts/db-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ echo "Create Database..."
createdb "${OMNIDB_DATABASE}" "Omniwallet wallet and transaction database"
echo "Init Schema..."
psql $OPTIONS -f ../omni_db_schema.psql ${OMNIDB_DATABASE}
echo "Add intial data..."
echo "Add initial data..."
psql $OPTIONS -f ../omni_db_initialize_data.psql ${OMNIDB_DATABASE}
echo "Configure users and permissions..."
psql $OPTIONS -f ../omni_db_createusers.psql \
Expand Down
8 changes: 4 additions & 4 deletions sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ def updateAddPending():
sendamount=None
recvamount=None
else:
#all other txs deduct from our balance and, where applicable, apply to the reciever
#all other txs deduct from our balance and, where applicable, apply to the receiver
sendamount=-amount
recvamount=amount

Expand Down Expand Up @@ -524,7 +524,7 @@ def sendToOwners(Sender, Amount, PropertyID, Protocol, TxDBSerialNum, owners=Non

#/end if amountToSend > 0

#relative position of the recipiant
#relative position of the recipient
AddressTxIndex+=1

#no money left to distribute. Done
Expand Down Expand Up @@ -1820,7 +1820,7 @@ def insertTxAddr(rawtx, Protocol, TxDBSerialNum, Block):
(Address, feeid, Protocol, TxDBSerialNum, 1, AddressRole, stofee, BalanceReservedCreditDebit, BalanceAcceptedCreditDebit))
updateBalance(Address, Protocol, feeid, feeEco, stofee, BalanceReservedCreditDebit, BalanceAcceptedCreditDebit, TxDBSerialNum)

#process the list of STO recievers
#process the list of STO receivers
txindex=0
AddressRole='payee'
isDivisible=getDivisible(rawtx)
Expand Down Expand Up @@ -2256,7 +2256,7 @@ def insertTxAddr(rawtx, Protocol, TxDBSerialNum, Block):
AddressRole = "issuer"
BalanceAvailableCreditDebit=value
try:
#check if we have a reciever for the grant
#check if we have a receiver for the grant
Receiver = rawtx['result']['referenceaddress']
ReceiveRole = 'recipient'
updateAddrStats(Receiver,Protocol,TxDBSerialNum,Block)
Expand Down
2 changes: 1 addition & 1 deletion tools/backfillSTO.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def processSTO(Sender, Amount, PropertyID, Protocol, TxDBSerialNum, owners=None)
#make sure we keep track of how much was sent/left to send
toDistribute-=amountSent
#/end if amountToSend > 0
#relative position of the recipiant
#relative position of the recipient
AddressTxIndex+=1
#no money left to distribute. Done
if toDistribute == 0:
Expand Down