Skip to content

Commit

Permalink
Merge pull request #111 from CityOfZion/CU-86a5au9aq-2
Browse files Browse the repository at this point in the history
CU-86a5au9aq-Swap Lib - Initial Research, Planning and Implementation
  • Loading branch information
thiagocbalducci authored Nov 6, 2024
2 parents f13de21 + 2c721bc commit 4413cb5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@cityofzion/bs-neo3",
"comment": "Add generic BSName in GetLedgerTransport",
"type": "patch"
}
],
"packageName": "@cityofzion/bs-neo3"
}
2 changes: 1 addition & 1 deletion packages/bs-neo3/src/BSNeo3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export class BSNeo3<BSName extends string = string>

network!: Network<BSNeo3NetworkId>

constructor(name: BSName, network?: Network<BSNeo3NetworkId>, getLedgerTransport?: GetLedgerTransport) {
constructor(name: BSName, network?: Network<BSNeo3NetworkId>, getLedgerTransport?: GetLedgerTransport<BSName>) {
network = network ?? BSNeo3Constants.DEFAULT_NETWORK

this.name = name
Expand Down

0 comments on commit 4413cb5

Please sign in to comment.