diff --git a/webapp/models/Transaction.php b/webapp/models/Transaction.php index b4b02954..75432b4e 100644 --- a/webapp/models/Transaction.php +++ b/webapp/models/Transaction.php @@ -26,7 +26,7 @@ class Transaction extends BaseModel { myself()->_getSelfMysql(), 't_transaction', array( - 'account_id' => myself()->_getAccountId(), + 'address' => myself()->_getAddress(), 'client_confirmed' => 1 ) ); @@ -39,7 +39,7 @@ class Transaction extends BaseModel { myself()->_getSelfMysql(), 't_transaction', array( - 'account_id' => myself()->_getAccountId(), + 'address' => myself()->_getAddress(), 'trans_id' => $transId, ) ); @@ -65,6 +65,7 @@ class Transaction extends BaseModel { 't_transaction', array( 'account_id' => myself()->_getAccountId(), + 'address' => myself()->_getAddress(), 'trans_id' => $transId, 'action' => $action, 'token_id' => $tokenId, @@ -335,7 +336,7 @@ class Transaction extends BaseModel { myself()->_getSelfMysql(), 't_transaction', array( - 'account_id' => myself()->_getAccountId(), + 'address' => myself()->_getAddress(), 'trans_id' => $transId ), array(