hashgraph / hedera-services

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

Handle 0x0 address for treasury during UpdateTokenInfo call #14040

Closed lukelee-sl closed 2 days ago

lukelee-sl commented 5 days 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 2 days ago

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