File tree Expand file tree Collapse file tree 3 files changed +14
-7
lines changed
src/main/java/org/arkecosystem/crypto/transactions/builder Expand file tree Collapse file tree 3 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77
88## Unreleased
99
10+ ## 0.1.2 - 2018-12-11
11+
12+ ### Changed
13+ - Set ` network ` field on transaction
14+
1015## 0.1.1 - 2018-12-11
1116
1217### Fixed
Original file line number Diff line number Diff line change @@ -34,20 +34,20 @@ uploadArchives {
3434 mavenDeployer {
3535 beforeDeployment { MavenDeployment deployment -> signing. signPom(deployment) }
3636
37- // repository(url: "file://${buildDir}/repo") {}
37+ repository(url : " file://${ buildDir} /repo" ) {}
3838
39- repository(url : " https://oss.sonatype.org/service/local/staging/deploy/maven2" ) {
40- authentication(userName : ' ' , password : ' ' )
41- }
39+ // repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2") {
40+ // authentication(userName: '', password: '')
41+ // }
4242
4343 // snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
4444 // authentication(userName: ossrhUsername, password: ossrhPassword)
4545 // }
4646
4747 pom. project {
4848 groupId = ' org.arkecosystem'
49- version = ' 0.1.1 '
50- artifactId = ' arkecosystem- crypto'
49+ version = ' 0.1.2 '
50+ artifactId = ' crypto'
5151
5252 name = ' java-crypto'
5353 description = ' A simple Cryptography Implementation in Java for the Ark Blockchain.'
@@ -79,7 +79,7 @@ uploadArchives {
7979 scm {
8080 connection = ' scm:git:git://github.com/ArkEcosystem/java-crypto.git'
8181 developerConnection = ' scm:git:ssh://github.com:ArkEcosystem/java-crypto.git'
82- url = ' https://github.com/ArkEcosystem/java-crypto/tree/0.1.1 '
82+ url = ' https://github.com/ArkEcosystem/java-crypto/tree/0.1.2 '
8383 }
8484 }
8585 }
Original file line number Diff line number Diff line change 11package org .arkecosystem .crypto .transactions .builder ;
22
33import org .arkecosystem .crypto .configuration .Fee ;
4+ import org .arkecosystem .crypto .configuration .Network ;
45import org .arkecosystem .crypto .enums .Types ;
56import org .arkecosystem .crypto .transactions .Transaction ;
67import org .arkecosystem .crypto .utils .Slot ;
@@ -14,6 +15,7 @@ public AbstractTransaction() {
1415 this .transaction .fee = Fee .get (this .getType ());
1516 this .transaction .timestamp = Slot .time ();
1617 this .transaction .version = 1 ;
18+ this .transaction .network = Network .get ().version ();
1719 }
1820
1921 public AbstractTransaction sign (String passphrase ) {
You can’t perform that action at this time.
0 commit comments