From 6415194d040c53446c80cb312b44cb5e8b3bc3e9 Mon Sep 17 00:00:00 2001 From: Mikhail Shautsou Date: Tue, 8 Oct 2019 14:10:39 +0300 Subject: [PATCH] Fix serialization of contract_create_operation (#85) --- package.json | 2 +- src/serializers/protocol/contract.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index f17b90cc..dffa2f81 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "echojs-lib", - "version": "1.8.0-rc.1", + "version": "1.8.0-rc.2", "description": "Pure JavaScript ECHO library for node.js", "main": "./dist/index.js", "types": "./types/index.d.ts", diff --git a/src/serializers/protocol/contract.js b/src/serializers/protocol/contract.js index 3d4eb6ae..3a601e86 100644 --- a/src/serializers/protocol/contract.js +++ b/src/serializers/protocol/contract.js @@ -13,8 +13,8 @@ export const contractBaseOperationPropsSerializer = struct({ export const contractCreateOperationPropsSerializer = struct({ ...contractBaseOperationPropsSerializer.serializers, - eth_accuracy: bool, supported_asset_id: optional(assetId), + eth_accuracy: bool, extensions, });