@waves/waves-transactions
Advanced tools
Comparing version 3.10.0 to 3.10.1
@@ -41,3 +41,3 @@ "use strict"; | ||
if (ord.version === undefined || ord.version === 1) | ||
ord.signature = ord.proofs[0]; | ||
ord.signature = ord.proofs && ord.proofs[0]; | ||
return ord; | ||
@@ -44,0 +44,0 @@ } |
{ | ||
"name": "@waves/waves-transactions", | ||
"version": "3.10.0", | ||
"version": "3.10.1", | ||
"description": "Build and sign(multi-sign) transactions for Waves blockchain.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -97,3 +97,3 @@ import { signBytes, hashBytes } from '@waves/waves-crypto' | ||
// OrderV1 uses signature instead of proofs | ||
if (ord.version === undefined || ord.version === 1) (ord as any).signature = ord.proofs[0] | ||
if (ord.version === undefined || ord.version === 1) (ord as any).signature = ord.proofs && ord.proofs[0] | ||
@@ -100,0 +100,0 @@ return ord |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
740824