hashgraph / hedera-sdk-go

Hedera™ Hashgraph SDK for Go
https://docs.hedera.com/docs/hedera-sdks
Apache License 2.0
108 stars 65 forks source link

`Sign` without `Freeze` does not fail #946

Closed 0xivanov closed 5 months ago

0xivanov commented 5 months ago

Description

Signing requires the transaction to be frozen. We need to make sure the request is frozen before signing. Add check for this and propagate errTransactionIsNotFrozen if the check fails

Steps to reproduce

Sign and execute transaction without freezing.

Additional context

No response

Hedera network

testnet

Version

2.37.0

Operating system

None