diff --git a/smartcontract/src/main/java/org/ton/java/smartcontract/token/ft/JettonWallet.java b/smartcontract/src/main/java/org/ton/java/smartcontract/token/ft/JettonWallet.java index 05cfe9d5..b1d3bbfb 100644 --- a/smartcontract/src/main/java/org/ton/java/smartcontract/token/ft/JettonWallet.java +++ b/smartcontract/src/main/java/org/ton/java/smartcontract/token/ft/JettonWallet.java @@ -1,6 +1,5 @@ package org.ton.java.smartcontract.token.ft; -import com.iwebpp.crypto.TweetNaclFast; import lombok.Builder; import lombok.Getter; import org.ton.java.address.Address; @@ -19,13 +18,10 @@ import java.math.BigInteger; -import static java.util.Objects.isNull; - @Builder @Getter public class JettonWallet implements Contract { - TweetNaclFast.Signature.KeyPair keyPair; Address address; public static class JettonWalletBuilder { @@ -38,9 +34,7 @@ public static JettonWalletBuilder builder() { private static class CustomJettonWalletBuilder extends JettonWalletBuilder { @Override public JettonWallet build() { - if (isNull(super.keyPair)) { - super.keyPair = Utils.generateSignatureKeyPair(); - } + return super.build(); } }