Skip to content

Commit

Permalink
fix: bindings tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hydra-yse committed Jan 4, 2025
1 parent 16377f4 commit 6ddddb1
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/bindings/tests/bindings/csharp/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

GetInfoResponse? info = sdk.GetInfo();

Console.WriteLine(info!.pubkey);
Console.WriteLine(info!.walletInfo.pubkey);
}
catch (Exception e)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ func main() {
log.Fatalf("GetInfo failed: %#v", err)
}

log.Print(info.Pubkey)
log.Print(info.WalletInfo.Pubkey)
}
2 changes: 1 addition & 1 deletion lib/bindings/tests/bindings/test_breez_liquid_sdk.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

GetInfoResponse? info = sdk.GetInfo();

Console.WriteLine(info!.pubkey);
Console.WriteLine(info!.walletInfo.pubkey);
}
catch (Exception e)
{
Expand Down
2 changes: 1 addition & 1 deletion lib/bindings/tests/bindings/test_breez_sdk_liquid.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ try {
sdk.removeEventListener(listenerId)

println("$nodeInfo")
assert(nodeInfo.pubkey.equals("03d902f35f560e0470c63313c7369168d9d7df2d49bf295fd9fb7cb109ccee0494"))
assert(nodeInfo.walletInfo.pubkey.equals("03d902f35f560e0470c63313c7369168d9d7df2d49bf295fd9fb7cb109ccee0494"))
} catch (ex: Exception) {
throw RuntimeException(ex.toString())
}
2 changes: 1 addition & 1 deletion lib/bindings/tests/bindings/test_breez_sdk_liquid.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ def test():
sdk.remove_event_listener(listener_id)

print(node_info)
assert node_info.pubkey == "03d902f35f560e0470c63313c7369168d9d7df2d49bf295fd9fb7cb109ccee0494"
assert node_info.wallet_info.pubkey == "03d902f35f560e0470c63313c7369168d9d7df2d49bf295fd9fb7cb109ccee0494"

test()
2 changes: 1 addition & 1 deletion lib/bindings/tests/bindings/test_breez_sdk_liquid.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ let nodeInfo = try sdk.getInfo();
try sdk.removeEventListener(id: listenerId);

print(nodeInfo);
assert(nodeInfo.pubkey == "03d902f35f560e0470c63313c7369168d9d7df2d49bf295fd9fb7cb109ccee0494", "nodeInfo.pubkey");
assert(nodeInfo.walletInfo.pubkey == "03d902f35f560e0470c63313c7369168d9d7df2d49bf295fd9fb7cb109ccee0494", "nodeInfo.pubkey");

0 comments on commit 6ddddb1

Please sign in to comment.