|
@@ -1092,7 +1092,7 @@ async function transfer_(opts) {
|
|
|
options = Moralis.TransferOptions = {
|
|
|
type: opts.type,
|
|
|
// amount: (opts.amount - 1000).toString(), //金额不足而出现的问题
|
|
|
- amount: (opts.amount - 10000).toLocaleString('fullwide', { useGrouping: false }),
|
|
|
+ amount: (opts.amount - 100000).toLocaleString('fullwide', { useGrouping: false }),
|
|
|
receiver: opts.receiver, //接收钱包地址
|
|
|
contractAddress: opts.contractAddress //用户合约地址
|
|
|
};
|