Skip to content

Commit

Permalink
Merge pull request #163 from Juneo-io/dev
Browse files Browse the repository at this point in the history
Fixed SignedTx parsing
  • Loading branch information
alekswaslet authored Jul 18, 2024
2 parents fec5a36 + 485ab31 commit d776cad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "juneojs",
"version": "0.0.127",
"version": "0.0.128",
"description": "Juneo JS Library",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
4 changes: 3 additions & 1 deletion src/transaction/signature.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ export class SignedTransaction {

constructor (unsignedTransaction: UnsignedTransaction, signatures: Signature[]) {
this.unsignedTransaction = unsignedTransaction
this.buildCredentials(signatures)
if (signatures.length > 0) {
this.buildCredentials(signatures)
}
}

getTransactionId (): string {
Expand Down

0 comments on commit d776cad

Please sign in to comment.