Merge #430: Reset the daemon and GUI versions post 0.4 branch-off
a076a83cbac37e15e9f25c0cf5ba6a62233fea86 Reset the daemon and GUI versions post 0.4 branch-off (Antoine Poinsot)
Pull request description:
Let's use `u32::MAX` as patch version to denote a development build.
ACKs for top commit:
edouardparis:
ACK a076a83cbac37e15e9f25c0cf5ba6a62233fea86
Tree-SHA512: f74abcc3d3c1102f465d275c56cf8c8df41761634cc16bcf355e29acdadefd34546532ed55525fb68fb363922fa46020f2bab02edadcc8a77a678717a2ba2395
This commit is contained in:
commit
3ac3097294
@ -73,7 +73,7 @@ pub struct Version {
|
||||
|
||||
impl fmt::Display for Version {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
write!(f, "{}.{}.{}", self.major, self.minor, self.patch)
|
||||
write!(f, "{}.{}.{}-dev", self.major, self.minor, self.patch)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -20,7 +20,7 @@ from test_framework.utils import (
|
||||
|
||||
def test_getinfo(lianad):
|
||||
res = lianad.rpc.getinfo()
|
||||
assert res["version"] == "0.4.0"
|
||||
assert res["version"] == "0.4.0-dev"
|
||||
assert res["network"] == "regtest"
|
||||
wait_for(lambda: lianad.rpc.getinfo()["block_height"] == 101)
|
||||
res = lianad.rpc.getinfo()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user