From dc9da1a3856d9140a625109d01dae512403092f2 Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Wed, 23 Mar 2016 21:30:30 -0400 Subject: [PATCH] Fixed padLeft for iban addresses. --- lib/web3/iban.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/web3/iban.js b/lib/web3/iban.js index ea57f4d..bd22ed2 100644 --- a/lib/web3/iban.js +++ b/lib/web3/iban.js @@ -25,7 +25,7 @@ var BigNumber = require('bignumber.js'); var padLeft = function (string, bytes) { var result = string; while (result.length < bytes * 2) { - result = '00' + result; + result = '0' + result; } return result; };