diff --git a/webapp/controller/BlockChainController.class.php b/webapp/controller/BlockChainController.class.php index f6470ba1..d64cfe26 100644 --- a/webapp/controller/BlockChainController.class.php +++ b/webapp/controller/BlockChainController.class.php @@ -230,7 +230,8 @@ class BlockChainController extends BaseAuthedController { 'token_id' => $tokenId, 'token_type' => $tokenType, 'item_uniid' => $itemUniId, - 'item_id' => $itemId + 'item_id' => $itemId, + 'net_id' => NET_ID ); { $url = self::getWeb3ServiceUrl(); diff --git a/webapp/services/BlockChainService.php b/webapp/services/BlockChainService.php index 9dafdbd7..95b8f4df 100644 --- a/webapp/services/BlockChainService.php +++ b/webapp/services/BlockChainService.php @@ -45,6 +45,7 @@ class BlockChainService { 'a' => 'buy', 'account' => $account, 'price' => $price, + 'net_id' => NET_ID ); { $url = self::getWeb3ServiceUrl(); @@ -118,7 +119,8 @@ class BlockChainService { 'a' => 'buy', 'account' => $account, 'price' => $price, - 'owner_address' => $owner_address, + 'seller' => $owner_address, + 'net_id' => NET_ID ); { $url = self::getWeb3ServiceUrl();