@waves/waves-transactions
Advanced tools
Comparing version 3.7.1 to 3.7.2
@@ -25,3 +25,4 @@ "use strict"; | ||
seedsAndIndexes.forEach(([s, i]) => generic_1.addProof(tx, waves_crypto_1.signBytes(bytes, s), i)); | ||
tx.id = waves_crypto_1.hashBytes(bytes); | ||
const idBytes = [bytes[0], ...bytes.slice(36, -16)]; | ||
tx.id = waves_crypto_1.hashBytes(Uint8Array.from(idBytes)); | ||
return tx; | ||
@@ -28,0 +29,0 @@ } |
{ | ||
"name": "@waves/waves-transactions", | ||
"version": "3.7.1", | ||
"version": "3.7.2", | ||
"description": "Build and sign(multi-sign) transactions for Waves blockchain.", | ||
@@ -68,3 +68,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@waves/marshall": "^0.7.2", | ||
"@waves/marshall": "^0.7.3", | ||
"@waves/waves-crypto": "^2.0.4", | ||
@@ -71,0 +71,0 @@ "axios": "^0.18.0" |
@@ -32,5 +32,7 @@ import { TRANSACTION_TYPE, IAliasParams, IAliasTransaction, WithId, WithSender } from '../transactions' | ||
seedsAndIndexes.forEach(([s, i]) => addProof(tx, signBytes(bytes, s), i)) | ||
tx.id = hashBytes(bytes) | ||
const idBytes = [bytes[0], ...bytes.slice(36, -16)] | ||
tx.id = hashBytes(Uint8Array.from(idBytes)) | ||
return tx | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
735827
5844
Updated@waves/marshall@^0.7.3