Bump lianad version to 2.0

This commit is contained in:
Antoine Poinsot 2023-08-29 16:19:41 +02:00
parent e9a15fd1aa
commit edb2c513a3
No known key found for this signature in database
GPG Key ID: E13FC145CD3F4304
4 changed files with 4 additions and 4 deletions

2
Cargo.lock generated
View File

@ -223,7 +223,7 @@ dependencies = [
[[package]]
name = "liana"
version = "1.0.0"
version = "2.0.0"
dependencies = [
"backtrace",
"bip39",

View File

@ -1,6 +1,6 @@
[package]
name = "liana"
version = "1.0.0"
version = "2.0.0"
authors = ["Antoine Poinsot <darosior@protonmail.com>"]
edition = "2018"
repository = "https://github.com/wizardsardine/liana"

View File

@ -78,7 +78,7 @@ impl fmt::Display for Version {
}
pub const VERSION: Version = Version {
major: 1,
major: 2,
minor: 0,
patch: 0,
};

View File

@ -20,7 +20,7 @@ from test_framework.utils import (
def test_getinfo(lianad):
res = lianad.rpc.getinfo()
assert res["version"] == "1.0.0-dev"
assert res["version"] == "2.0.0-dev"
assert res["network"] == "regtest"
wait_for(lambda: lianad.rpc.getinfo()["block_height"] == 101)
res = lianad.rpc.getinfo()