Skip to content

Commit

Permalink
Add genesis vesting contracts, converted to PoS timestamps
Browse files Browse the repository at this point in the history
This will change a little in an upcoming @nimiq/core version when the Nimiq.VestingContract.dataToPlain() method is corrected to take actual tx data and the tx's value, instead of the internal serialization of vesting creation data.
  • Loading branch information
sisou committed Dec 3, 2024
1 parent ad0ce95 commit 4d13943
Show file tree
Hide file tree
Showing 3 changed files with 165 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/Network.vue
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ class Network extends Vue {
public async getGenesisVestingContracts(): Promise<VestingContractInfo[]> {
const client = await this.getNetworkClient();
const contracts = await client.getGenesisVestingContracts();
const contracts = client.getGenesisVestingContracts();
return contracts.map((contract) => new VestingContractInfo(
labelVestingContract(),
Expand Down
Loading

0 comments on commit 4d13943

Please sign in to comment.