When trying to sign a transaction, I get the transaction did not have exactly one node ID set (similar to hashgraph/hedera-sdk-js#2168)
Expected behvior:
the call should returned a signed frozen transaction
Steps to Reproduce:
// TestNet
const client = new HashConnect(
LedgerId.TESTNET,
PROJECT_ID,
appMetadata,
true
)
// events are setup as described in the quickstart section
// https://www.npmjs.com/package/hashconnect#quick-start
const myAccount = AccountId.fromString('0.0.7483514')
const signer = await client.getSigner(myAccount)
const t = await new TransferTransaction()
.addHbarTransfer('0.0.7483514', -1)
.addHbarTransfer('0.0.3719159', 1)
.freezeWithSigner(signer)
const res = await t.signWithSigner(signer)
// ERROR: Uncaught transaction did not have exactly one node ID set
Description
When trying to sign a transaction, I get the
transaction did not have exactly one node ID set
(similar to hashgraph/hedera-sdk-js#2168)Expected behvior:
the call should returned a signed frozen transaction
Steps to Reproduce: