Skip to content

Commit

Permalink
fix: Fix test and updated docs for gov api
Browse files Browse the repository at this point in the history
  • Loading branch information
satran004 committed May 4, 2024
1 parent dbe3abc commit 692cbdc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/docs/apis/governance-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Tx drepRegTx = new Tx()

Result<String> result = quickTxBuilder.compose(drepRegTx)
.withSigner(SignerProviders.signerFrom(account))
.withSigner(SignerProviders.signerFrom(account.drepHdKeyPair()))
.completeAndWait(s -> System.out.println(s));
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ void registerDrep() {

Result<String> result = quickTxBuilder.compose(drepRegTx)
.withSigner(SignerProviders.signerFrom(sender1))
.withSigner(SignerProviders.signerFrom(sender1.drepHdKeyPair()))
.complete();

System.out.println("DRepId : " + sender1.drepId());
Expand Down

0 comments on commit 692cbdc

Please sign in to comment.