Check-in [8d7e39df83]
Overview
Comment:Ensure that the test for address generation requests the right address format
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 8d7e39df830ca199d20b948bf5ecc9a1587639aa30c3f7594e80720f0f6b7c5d
User & Date: rkeene on 2018-07-05 16:25:01.580
Other Links: manifest | tags
Context
2018-07-05
16:25
Made default prefix "nano_" again check-in: c3df9b5991 user: rkeene tags: trunk
16:25
Ensure that the test for address generation requests the right address format check-in: 8d7e39df83 user: rkeene tags: trunk
16:19
Consolidated constants check-in: 8ea3e826f3 user: rkeene tags: trunk
Changes
130
131
132
133
134
135
136
137

138
139
140
141
142
143
144
130
131
132
133
134
135
136

137
138
139
140
141
142
143
144







-
+







	if {$pubCheck ne $pub} {
		puts "\[1.FAIL\] Got: $pubCheck"
		puts "\[1.FAIL\] Exp: $pub"

		return false
	}

	set addrCheck [::nano::address::fromPublicKey $pub]
	set addrCheck [::nano::address::fromPublicKey $pub -nano]
	if {$addrCheck ne $addr} {
		puts "\[2.FAIL\] Got: $addrCheck"
		puts "\[2.FAIL\] Exp: $addr"

		return false
	}