File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -807,9 +807,9 @@ describe("parseSuiRecipientFromOpReturn", () => {
807807 } ) ;
808808
809809 it ( "should return null if payload flag is not 0x00" , ( ) => {
810- // this test will have to be udpated once we start supporting other flags
810+ // this test will have to be updated once we start supporting other flags
811811 const script = Buffer . concat ( [
812- Buffer . from ( [ OP_RETURN , 34 ] ) ,
812+ Buffer . from ( [ OP_RETURN , 33 ] ) ,
813813 Buffer . from ( [ 0x01 ] ) , // flag 0x01
814814 Buffer . alloc ( 32 , 0x01 ) ,
815815 ] ) ;
@@ -818,7 +818,7 @@ describe("parseSuiRecipientFromOpReturn", () => {
818818
819819 it ( "should return null if address length is not 32 bytes" , ( ) => {
820820 const script = Buffer . concat ( [
821- Buffer . from ( [ OP_RETURN , 31 ] ) ,
821+ Buffer . from ( [ OP_RETURN , 32 ] ) ,
822822 Buffer . from ( [ 0x00 ] ) ,
823823 Buffer . alloc ( 31 , 0x01 ) , // 31 bytes addr
824824 ] ) ;
You can’t perform that action at this time.
0 commit comments