hashgraph / hedera-services

Crypto, token, consensus, file, and smart contract services for the Hedera public ledger
Apache License 2.0
313 stars 136 forks source link

Handle 0x0 address for treasury during UpdateTokenInfo call #14040

Closed lukelee-sl closed 4 months ago

lukelee-sl commented 4 months ago

Problem

The HTS UpdateTokenInfo call fails when the treasury is passed in as the 0x0 address. It should not fail the treasury address should be null when creating the child transaction body for token service processing.

Solution

If the treasury address is 0x0 then do not set a treasury address in the child transaction body when dispatching to the token service.

Alternatives

No response

Nana-EC commented 4 months ago

Resolved as part of https://github.com/hashgraph/hedera-services/issues/13341