This commit is contained in:
Marek Kotewicz 2015-05-23 16:03:01 +02:00
parent 95aabe3305
commit 858d0c62a4
7 changed files with 13 additions and 28 deletions

9
dist/web3-light.js vendored
View File

@ -3987,11 +3987,7 @@ var contract = require('./contract');
var transfer = function (from, iban, value, callback) {
var icap = new ICAP(iban);
if (!icap.isValid()) {
var err = new Error('invalid');
if (callback) {
return callback(err);
}
throw err;
throw new Error('invalid iban address');
}
if (icap.isDirect()) {
@ -4022,8 +4018,7 @@ var transferToAddress = function (from, address, value, callback) {
return web3.eth.sendTransaction({
address: address,
from: from,
value: value,
data: data
value: value
}, callback);
};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

9
dist/web3.js vendored
View File

@ -3987,11 +3987,7 @@ var contract = require('./contract');
var transfer = function (from, iban, value, callback) {
var icap = new ICAP(iban);
if (!icap.isValid()) {
var err = new Error('invalid');
if (callback) {
return callback(err);
}
throw err;
throw new Error('invalid iban address');
}
if (icap.isDirect()) {
@ -4022,8 +4018,7 @@ var transferToAddress = function (from, address, value, callback) {
return web3.eth.sendTransaction({
address: address,
from: from,
value: value,
data: data
value: value
}, callback);
};

4
dist/web3.js.map vendored

File diff suppressed because one or more lines are too long

4
dist/web3.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -37,11 +37,7 @@ var contract = require('./contract');
var transfer = function (from, iban, value, callback) {
var icap = new ICAP(iban);
if (!icap.isValid()) {
var err = new Error('invalid');
if (callback) {
return callback(err);
}
throw err;
throw new Error('invalid iban address');
}
if (icap.isDirect()) {
@ -72,8 +68,7 @@ var transferToAddress = function (from, address, value, callback) {
return web3.eth.sendTransaction({
address: address,
from: from,
value: value,
data: data
value: value
}, callback);
};