git.delta.rocks / unique-network / refs/commits / 8c2fc091b234

difftreelog

Revert "Default value for OwnerCanTransfer set to false"

Igor Kozyrev2022-03-10parent: #fa3370c.patch.diff
in: master
This reverts commit fa3370cc609c7fa963dbd3387a5510bd9407d465.

1 file changed

modifiedprimitives/data-structs/src/lib.rsdiffbeforeafterboth
378 .min(MAX_SPONSOR_TIMEOUT)378 .min(MAX_SPONSOR_TIMEOUT)
379 }379 }
380 pub fn owner_can_transfer(&self) -> bool {380 pub fn owner_can_transfer(&self) -> bool {
381 self.owner_can_transfer.unwrap_or(false)381 self.owner_can_transfer.unwrap_or(true)
382 }382 }
383 pub fn owner_can_destroy(&self) -> bool {383 pub fn owner_can_destroy(&self) -> bool {
384 self.owner_can_destroy.unwrap_or(true)384 self.owner_can_destroy.unwrap_or(true)