File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export class LogicSig implements Addressable {
2929
3030 constructor ( program : Uint8Array , programArgs ?: Array < Uint8Array > ) {
3131 this . logic = program
32- this . args = programArgs ?. map ( ( arg ) => new Uint8Array ( arg ) ) ?? [ ]
32+ this . args = programArgs ?? [ ]
3333 this . _addr = this . address ( )
3434 const toBeSigned = concatArrays ( PROGRAM_TAG , this . logic )
3535 const h = hash ( toBeSigned )
@@ -150,7 +150,7 @@ export class LogicSigAccount extends LogicSig {
150150
151151 if ( ! result . addr . equals ( this . _addr ) ) {
152152 throw new Error (
153- `Delagator address from signer does not match expected delegator address. Expected: ${ this . _addr . toString ( ) } , got: ${ result . addr . toString ( ) } ` ,
153+ `Delegator address from signer does not match expected delegator address. Expected: ${ this . _addr . toString ( ) } , got: ${ result . addr . toString ( ) } ` ,
154154 )
155155 }
156156
You can’t perform that action at this time.
0 commit comments