mirror of https://github.com/status-im/web3.js.git
updated tests
This commit is contained in:
parent
94b1f91a58
commit
aca98050ba
|
@ -3,7 +3,8 @@ var Iban = require('../lib/web3/iban.js');
|
|||
var assert = chai.assert;
|
||||
|
||||
var tests = [
|
||||
{ address: '00c5496aee77c1ba1f0854206a26dda82a81d6d8', expected: 'XE7338O073KYGTWWZN0F2WZ0R8PX5ZPPZS'}
|
||||
{ address: '00c5496aee77c1ba1f0854206a26dda82a81d6d8', expected: 'XE7338O073KYGTWWZN0F2WZ0R8PX5ZPPZS'},
|
||||
{ address: '0x00c5496aee77c1ba1f0854206a26dda82a81d6d8', expected: 'XE7338O073KYGTWWZN0F2WZ0R8PX5ZPPZS'}
|
||||
];
|
||||
|
||||
describe('lib/web3/iban', function () {
|
||||
|
|
|
@ -26,8 +26,8 @@ describe('web3.eth.sendIBANTransaction', function () {
|
|||
step++;
|
||||
assert.equal(payload.method, 'eth_call');
|
||||
assert.deepEqual(payload.params, [{
|
||||
data: "0x511b1df9000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000045852454700000000000000000000000000000000000000000000000000000000",
|
||||
to: web3.eth.namereg.address
|
||||
data: "0x3b3b57de5852454700000000000000000000000000000000000000000000000000000000",
|
||||
to: web3.eth.ibanNamereg.address
|
||||
}, "latest"]);
|
||||
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue