Commit f4923b4c authored by Kalinka's avatar Kalinka

Controller/TransactionController.php:

  - Fix Output of MultiOut Transactions in Block view
parent a8508127
......@@ -28,7 +28,7 @@ class TransactionController extends AbstractController
UNION
SELECT CAST(t.id AS UNSIGNED) AS id,
CAST(t.sender_id AS UNSIGNED) AS sender_id,
CAST(t.recipient_id AS UNSIGNED) AS recipient_id,
CAST(mo.recipient_id AS UNSIGNED) AS recipient_id,
FORMAT(t.fee / 100000000, 2) AS fee,
FORMAT(mo.amount / 100000000, 2) AS amount,
t.timestamp + 1407722400 AS unixtime,
......@@ -38,7 +38,7 @@ class TransactionController extends AbstractController
UNION
SELECT CAST(t.id AS UNSIGNED) AS id,
CAST(t.sender_id AS UNSIGNED) AS sender_id,
CAST(t.recipient_id AS UNSIGNED) AS recipient_id,
CAST(mosr.recipient_id AS UNSIGNED) AS recipient_id,
FORMAT(t.fee / 100000000, 2) AS fee,
FORMAT(t.amount / mos.recipient_count / 100000000, 2) AS amount,
t.timestamp + 1407722400 AS unixtime,
......@@ -66,7 +66,7 @@ class TransactionController extends AbstractController
UNION
SELECT CAST(t.id AS UNSIGNED) AS id,
CAST(t.sender_id AS UNSIGNED) AS sender_id,
CAST(t.recipient_id AS UNSIGNED) AS recipient_id,
CAST(mo.recipient_id AS UNSIGNED) AS recipient_id,
FORMAT(t.fee / 100000000, 2) AS fee,
FORMAT(mo.amount / 100000000, 2) AS amount,
t.timestamp + 1407722400 AS unixtime,
......@@ -77,7 +77,7 @@ class TransactionController extends AbstractController
UNION
SELECT CAST(t.id AS UNSIGNED) AS id,
CAST(t.sender_id AS UNSIGNED) AS sender_id,
CAST(t.recipient_id AS UNSIGNED) AS recipient_id,
CAST(mosr.recipient_id AS UNSIGNED) AS recipient_id,
FORMAT(t.fee / 100000000, 2) AS fee,
FORMAT(t.amount / mos.recipient_count / 100000000, 2) AS amount,
t.timestamp + 1407722400 AS unixtime,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment