File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -32,11 +32,11 @@ const (
3232 // fragment version is not recognized.
3333 SendFragmentVersionUnknown SendFragmentVersion = 0
3434
35- // SendFragmentV0 is the first version of the send fragment.
36- SendFragmentV0 SendFragmentVersion = 1
35+ // SendFragmentV1 is the first version of the send fragment.
36+ SendFragmentV1 SendFragmentVersion = 1
3737
3838 // LatestVersion is the latest version of the send fragment.
39- LatestVersion = SendFragmentV0
39+ LatestVersion = SendFragmentV1
4040)
4141
4242// SendOutput is a single asset UTXO or leaf that is being sent to the receiver
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ func TestSendFragmentEncodeDecode(t *testing.T) {
3434 {
3535 name : "basic fragment" ,
3636 fragment : SendFragment {
37- Version : SendFragmentV0 ,
37+ Version : SendFragmentV1 ,
3838 BlockHeader : wire.BlockHeader {
3939 Version : 1 ,
4040 PrevBlock : [32 ]byte {0x01 },
@@ -63,7 +63,7 @@ func TestSendFragmentEncodeDecode(t *testing.T) {
6363 {
6464 name : "empty fragment" ,
6565 fragment : SendFragment {
66- Version : SendFragmentV0 ,
66+ Version : SendFragmentV1 ,
6767 BlockHeader : wire.BlockHeader {
6868 Timestamp : time .Unix (1234567890 , 0 ),
6969 },
You can’t perform that action at this time.
0 commit comments