dsd-constants-lib
Advanced tools
Comparing version 3.7.14 to 3.7.15
@@ -270,5 +270,5 @@ /** | ||
BlockchainZetonium: { name: "zetonium", id: 1, transferOffset: "0x0000000000000000" }, | ||
BlockchainEthereum: { name: "ethereum", id: 2, transferOffset: "0x0000000000000000" }, | ||
BlockchainPolygon: { name: "polygon", id: 3, transferOffset: "0x0008000000000000" }, | ||
BlockchainFlow: { name: "flow", id: 4, transferOffset: "0x0010000000000000" }, | ||
BlockchainEthereum: { name: "ethereum", id: 2, transferOffset: "0x0008000000000000" }, | ||
BlockchainPolygon: { name: "polygon", id: 3, transferOffset: "0x0010000000000000" }, | ||
BlockchainFlow: { name: "flow", id: 4, transferOffset: "0x0018000000000000" } | ||
}; | ||
@@ -298,5 +298,6 @@ } | ||
trReqId = Constants.formatTransferReqId(trReqId); | ||
if(trReqId.startsWith("0x0000")) return Constants.blockchainTypes.BlockchainEthereum; | ||
if(trReqId.startsWith("0x0008")) return Constants.blockchainTypes.BlockchainPolygon; | ||
if(trReqId.startsWith("0x0010")) return Constants.blockchainTypes.BlockchainFlow; | ||
//fixme: take in account numbers over 48bits (because the space is 50bits) | ||
if(trReqId.startsWith("0x0008")) return Constants.blockchainTypes.BlockchainEthereum; | ||
if(trReqId.startsWith("0x0010")) return Constants.blockchainTypes.BlockchainPolygon; | ||
if(trReqId.startsWith("0x0018")) return Constants.blockchainTypes.BlockchainFlow; | ||
} | ||
@@ -303,0 +304,0 @@ |
{ | ||
"name": "dsd-constants-lib", | ||
"version": "3.7.14", | ||
"version": "3.7.15", | ||
"dependencies": {}, | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is too big to display
105924
1244